summaryrefslogtreecommitdiff
path: root/rdflib/namespace.py
diff options
context:
space:
mode:
authorgromgull <devnull@localhost>2011-01-28 18:41:35 +0000
committergromgull <devnull@localhost>2011-01-28 18:41:35 +0000
commitc8eeaa081f9d67e23e34472e72d14753016acdd6 (patch)
tree3ee00d0dd6b516621856dfce357e1ee24c0fae49 /rdflib/namespace.py
parentac7d06f7952bf76c14f79abb64b1239071ab2212 (diff)
downloadrdflib-c8eeaa081f9d67e23e34472e72d14753016acdd6.tar.gz
applied patch for __str__ not returning a string (Fixes issue 154)
Diffstat (limited to 'rdflib/namespace.py')
-rw-r--r--rdflib/namespace.py2
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)