diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-02 20:55:36 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-02 20:55:36 +0200 |
commit | 3bc0453caec237ecd9a191be4141ffc37a643d65 (patch) | |
tree | 861fcad295c4252c7efd2cbc90a9c36630cffffb /tests/scripts/python | |
parent | 2ed281af02d9d251a6d20bac9ccbd916275cc966 (diff) | |
download | weechat-3bc0453caec237ecd9a191be4141ffc37a643d65.zip |
tests: fix assignment in perl script generator
Diffstat (limited to 'tests/scripts/python')
-rwxr-xr-x | tests/scripts/python/unparse.py | 2 |
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, |