diff options
author | Jörn Hees <joernhees@users.noreply.github.com> | 2016-07-27 02:54:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-27 02:54:35 +0200 |
commit | b80b4ee8e0007017f9620e47af07a1f5535a1f95 (patch) | |
tree | 43b552fc5a2f6966980021ed161138fc564ece00 | |
parent | 8f5da1bc7bcb5ae204706b0bf8d19707eb06beb1 (diff) | |
parent | fd27a6ad53aadef80fca9c081103c593c016979d (diff) | |
download | rdflib-b80b4ee8e0007017f9620e47af07a1f5535a1f95.tar.gz |
Merge pull request #643 from joernhees/fix_ntriples_exception
Fix ntriples exception, closes #640
-rw-r--r-- | rdflib/plugins/parsers/ntriples.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/parsers/ntriples.py b/rdflib/plugins/parsers/ntriples.py index 7c8530e5..9283b822 100644 --- a/rdflib/plugins/parsers/ntriples.py +++ b/rdflib/plugins/parsers/ntriples.py @@ -207,7 +207,7 @@ class NTriplesParser(object): if not m: # @@ Why can't we get the original pattern? # print(dir(pattern)) # print repr(self.line), type(self.line) - raise ParseError("Failed to eat %s at %s" % (pattern, self.line)) + raise ParseError("Failed to eat %s at %s" % (pattern.pattern, self.line)) self.line = self.line[m.end():] return m |