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 | 1d026b9a71a12df119f5582c9a42be08259b0bac (patch) | |
tree | 75096cacf560bbc92db422cd640b466c407b0194 /python_modules/spice_parser.py | |
parent | de1286ad80ce7c559fccde5f6e466a89fc1ce60d (diff) | |
download | spice-protocol-1d026b9a71a12df119f5582c9a42be08259b0bac.tar.gz spice-protocol-1d026b9a71a12df119f5582c9a42be08259b0bac.tar.xz spice-protocol-1d026b9a71a12df119f5582c9a42be08259b0bac.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