tests: fix Tcl assignment

This commit is contained in:
Sébastien Helleu 2017-10-24 23:31:51 +02:00
parent 2b06b53a29
commit 4cff2322a0

View File

@ -655,9 +655,10 @@ class UnparseTcl(UnparsePython):
self.fill,
'set ',
node.targets[0],
' [',
' ',
'[' if not isinstance(node.value, ast.Str) else '',
node.value,
']',
']' if not isinstance(node.value, ast.Str) else '',
)
def _ast_attribute(self, node):