Skip to content

Commit

Permalink
Fix boolean list serialization in Turtle
Browse files Browse the repository at this point in the history
  • Loading branch information
bcogrel committed Apr 27, 2014
1 parent 5ba9888 commit f8cf5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/serializers/turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def isValidList(self, l):
def doList(self, l):
while l:
item = self.store.value(l, RDF.first)
if item:
if item is not None:
self.path(item, OBJECT)
self.subjectDone(l)
l = self.store.value(l, RDF.rest)
Expand Down

0 comments on commit f8cf5e3

Please sign in to comment.