diff bin/rdfdb @ 826:05aabe3d7b02

fix some minor issues with graph contexts Ignore-this: 7fd366a4b6cbd94af6f9edb1b4b4c6fc
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 04 Jun 2013 20:28:49 +0000
parents 295b867fd810
children e53e78db7b17
line wrap: on
line diff
--- a/bin/rdfdb	Tue Jun 04 19:31:39 2013 +0000
+++ b/bin/rdfdb	Tue Jun 04 20:28:49 2013 +0000
@@ -205,6 +205,7 @@
         return URIRef(self.topUri + filename)
 
     def fileForUri(self, ctx):
+        assert isinstance(ctx, URIRef), ctx
         if not ctx.startswith(self.topUri):
             raise ValueError("don't know what filename to use for %s" % ctx)
         return ctx[len(self.topUri):] + ".n3"