Updated to newer Python syntax where possible
commit73609a0277106a25446514f35cd617a488e9fca9
authorThomas Leonard <talex5@gmail.com>
Wed, 9 Mar 2011 20:52:30 +0000 (9 20:52 +0000)
committerThomas Leonard <talex5@gmail.com>
Wed, 9 Mar 2011 20:58:26 +0000 (9 20:58 +0000)
tree640abb2fc8c5c0ddf5359bc65db1bfe786e43c53
parentdbed7a83fca767223e67f45907bc4546cd151637
Updated to newer Python syntax where possible

These are changes that are needed for Python 3, but which still work on Python
2.5.

The command used was:

2to3 -wn -f apply -f future -f has_key -f import -f long -f paren -f reduce -f repr -f sys_exc -f tuple_params zeroinstall 0launch 0store 0alias 0desktop 0store-secure-add 0install
12 files changed:
zeroinstall/gtkui/addbox.py
zeroinstall/gtkui/cache.py
zeroinstall/injector/fetch.py
zeroinstall/injector/iface_cache.py
zeroinstall/injector/model.py
zeroinstall/injector/packagekit.py
zeroinstall/injector/trust.py
zeroinstall/support/tasks.py
zeroinstall/zerostore/__init__.py
zeroinstall/zerostore/cli.py
zeroinstall/zerostore/manifest.py
zeroinstall/zerostore/optimise.py