diff options
| author | gromgull <devnull@localhost> | 2011-01-28 18:41:35 +0000 |
|---|---|---|
| committer | gromgull <devnull@localhost> | 2011-01-28 18:41:35 +0000 |
| commit | c8eeaa081f9d67e23e34472e72d14753016acdd6 (patch) | |
| tree | 3ee00d0dd6b516621856dfce357e1ee24c0fae49 | |
| parent | ac7d06f7952bf76c14f79abb64b1239071ab2212 (diff) | |
| download | rdflib-c8eeaa081f9d67e23e34472e72d14753016acdd6.tar.gz | |
applied patch for __str__ not returning a string (Fixes issue 154)
| -rw-r--r-- | rdflib/namespace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/namespace.py b/rdflib/namespace.py index 127a8545..2a8fe6a8 100644 --- a/rdflib/namespace.py +++ b/rdflib/namespace.py @@ -93,7 +93,7 @@ class ClosedNamespace(object): return self.term(name) def __str__(self): - return self.uri + return str(self.uri) def __repr__(self): return """rdf.namespace.ClosedNamespace('%s')""" % str(self.uri) |
