mirror of
https://github.com/weechat/weechat.git
synced 2026-06-21 02:16:38 +02:00
tests: fix assignment in perl script generator
This commit is contained in:
@@ -329,7 +329,7 @@ class UnparsePerl(UnparsePython):
|
||||
"""Add an AST Assign in output."""
|
||||
self.add(
|
||||
self.fill,
|
||||
(self.prefix, '%' if isinstance(node.value, ast.Dict) else '$'),
|
||||
(self.prefix, '$'),
|
||||
[[target, ' = '] for target in node.targets],
|
||||
(self.prefix, None),
|
||||
node.value,
|
||||
|
||||
Reference in New Issue
Block a user