Skip to content

Commit

Permalink
Use proper format function.
Browse files Browse the repository at this point in the history
whitequark committed Jun 4, 2015
1 parent 4b01e60 commit 6c3b5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/py2llvm/typing.py
Original file line number Diff line number Diff line change
@@ -303,7 +303,7 @@ def rewrite(self):
def generic_visit(self, node):
if hasattr(node, 'type'):
self.rewriter.insert_after(node.loc,
":%s" % self.type_printer.name(node.type))
":%s".format(self.type_printer.name(node.type)))

super().generic_visit(node)

0 comments on commit 6c3b5a9

Please sign in to comment.