diff options
author | Uri Lublin <uril@redhat.com> | 2015-07-27 20:14:26 +0300 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2015-08-04 20:10:22 +0300 |
commit | 53f7f543f9edd57ed16fed2e46452024c880dfaa (patch) | |
tree | 088308433e423059b855705c5e688aec5e640208 /python_modules/spice_parser.py | |
parent | f2ed9a35a2fc0b35d6297b49f9c441500456648f (diff) | |
download | spice-common-53f7f543f9edd57ed16fed2e46452024c880dfaa.tar.gz spice-common-53f7f543f9edd57ed16fed2e46452024c880dfaa.tar.xz spice-common-53f7f543f9edd57ed16fed2e46452024c880dfaa.zip |
codegen: ptypes.py: keep attribute names in sets
This patch changes the type of 'valid_attributes' and
'attributes_with_arguments'.
Both of them are list of different strings and are kept in sets.
This was the intention of the original code, but this patch
use a specific set([ strings ]) format, instead of { strings }.
This fixes the build for me on RHEL-6 (python-2.6.6).
Build error is:
File "/home/ulublin/git/spice/spice-common/python_modules/ptypes.py",
line 67
'end',
^
SyntaxError: invalid syntax
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions