Skip to content

Commit

Permalink
tuple unpacking in a function argument does not work in python3 any m…
Browse files Browse the repository at this point in the history
…ore...
  • Loading branch information
iherman committed Aug 12, 2013
1 parent c645f29 commit 8a89ea2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyRdfa/property.py
Expand Up @@ -15,8 +15,8 @@
"""

"""
$Id: property.py,v 1.13 2013-07-26 12:35:51 ivan Exp $
$Date: 2013-07-26 12:35:51 $
$Id: property.py,v 1.14 2013-07-26 16:10:16 ivan Exp $
$Date: 2013-07-26 16:10:16 $
"""

import re, sys
Expand Down
3 changes: 2 additions & 1 deletion pyRdfaExtras/__init__.py
Expand Up @@ -109,7 +109,8 @@ def _register_Turtle_serializer_2(self) :
"pyRdfaExtras.serializers.turtleserializer", "TurtleSerializer")
MyGraph.turtle_serialzier_registered_2 = True

def add(self, (s,p,o)) :
def add(self, t) :
s,p,o = t
"""Overriding the Graph's add method to filter out triples with possible None values. It may happen
in case, for example, a host language is not properly set up for the distiller"""
if s == None or p == None or o == None :
Expand Down

0 comments on commit 8a89ea2

Please sign in to comment.