]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use Python 3.x compatible except: construct
authorDirk Mueller <dirk@dmllr.de>
Sat, 8 Jun 2013 08:49:57 +0000 (10:49 +0200)
committerDirk Mueller <dirk@dmllr.de>
Fri, 14 Jun 2013 21:26:00 +0000 (23:26 +0200)
commit64a9dd5c509366aeb763b964094579c93ef0e091
treedec3b598e90280cf5466cd24a2811ed500fb4259
parent930f5891b0815e1b49b9b2cc840e0c24b2796e84
Use Python 3.x compatible except: construct

Per (proposed) H203 check, convert all uses of
the deprecated except x,y: construct to except
x as y:, which works with any Python version >= 2.6

Change-Id: I5528dc556f3ef8d356e01d59df04ba57f66c95b7
19 files changed:
bin/cinder-manage
bin/cinder-volume-usage-audit
cinder/api/contrib/admin_actions.py
cinder/api/contrib/volume_actions.py
cinder/api/openstack/wsgi.py
cinder/db/sqlalchemy/api.py
cinder/scheduler/scheduler_options.py
cinder/tests/api/v1/test_limits.py
cinder/tests/api/v2/test_limits.py
cinder/tests/test_migrations.py
cinder/utils.py
cinder/volume/drivers/coraid.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/solidfire.py
cinder/volume/manager.py
cinder/volume/volume_types.py
cinder/wsgi.py
tools/conf/extract_opts.py