forked from M-Labs/artiq
Use proper format function.
This commit is contained in:
parent
4b01e604db
commit
6c3b5a95ee
@ -303,7 +303,7 @@ class Printer(algorithm.Visitor):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user