1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

tests: fix Tcl assignment

This commit is contained in:
Sébastien Helleu
2017-10-24 23:31:51 +02:00
parent 2b06b53a29
commit 4cff2322a0
+3 -2
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):