summaryrefslogtreecommitdiff
path: root/tests/scripts/python
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-08-02 20:55:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-08-02 20:55:36 +0200
commit3bc0453caec237ecd9a191be4141ffc37a643d65 (patch)
tree861fcad295c4252c7efd2cbc90a9c36630cffffb /tests/scripts/python
parent2ed281af02d9d251a6d20bac9ccbd916275cc966 (diff)
downloadweechat-3bc0453caec237ecd9a191be4141ffc37a643d65.zip
tests: fix assignment in perl script generator
Diffstat (limited to 'tests/scripts/python')
-rwxr-xr-xtests/scripts/python/unparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py
index e0991292b..2a9c05b80 100755
--- a/tests/scripts/python/unparse.py
+++ b/tests/scripts/python/unparse.py
@@ -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,