Skip to content

Commit

Permalink
Merge pull request #44 from traversaro/patch-1
Browse files Browse the repository at this point in the history
urdf_parser_py.xml_reflection : python 3 compatibility
  • Loading branch information
isucan committed Aug 19, 2014
2 parents 5b69479 + 47a9f2d commit b5ff0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urdf_parser_py/src/urdf_parser_py/xml_reflection/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def from_xml(self, node):
for value_type in self.type_order:
try:
return value_type.from_xml(node)
except Exception, e:
except Exception as e:
error_set.append((value_type, e))
# Should have returned, we encountered errors
out = "Could not perform duck-typed parsing."
Expand Down

0 comments on commit b5ff0d6

Please sign in to comment.