changeset 75:7da93b280097

cut dependency on ipdb Ignore-this: deb45752f471f594a341a81074cb069a
author drewp@bigasterisk.com
date Fri, 09 Aug 2019 06:14:54 +0000
parents 60f0dd1601e4
children ffd7fd7bc0e6
files rdfdb/rdflibpatch.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rdfdb/rdflibpatch.py	Thu Jun 20 04:26:11 2019 +0000
+++ b/rdfdb/rdflibpatch.py	Fri Aug 09 06:14:54 2019 +0000
@@ -106,8 +106,7 @@
             # already URIRef other times
             c = c.identifier
         if '[' in c.n3():
-            import ipdb
-            ipdb.set_trace()
+            raise ValueError(str(c))
         ntObject = _quoteLiteral(o) if isinstance(o, Literal) else o.n3()
         out.append("%s %s %s %s .\n" % (s.n3(), p.n3(), ntObject, c.n3()))
     return ''.join(out)