]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve Python 3.x compatibility
authorDirk Mueller <dirk@dmllr.de>
Mon, 29 Apr 2013 09:41:46 +0000 (11:41 +0200)
committerDirk Mueller <dirk@dmllr.de>
Mon, 29 Apr 2013 09:41:46 +0000 (11:41 +0200)
commitba90d5276184afb06106e57f5da1224277e497b5
tree7e5fa5c49162e29d4913579cfcd7ead127020abf
parent07299e34d028476b2e69b5d7905bdcde478ce988
Improve Python 3.x compatibility

Replace the deprecated except x,y: construct with
except x as y:, as that one works with all Python
versions starting with 2.6.x

Change-Id: I13080cfdad32eaef21aa2707fe5d2818bda68535
12 files changed:
quantum/agent/dhcp_agent.py
quantum/agent/linux/ovs_lib.py
quantum/db/api.py
quantum/db/migration/cli.py
quantum/openstack/common/rpc/impl_zmq.py
quantum/plugins/cisco/tests/unit/test_database.py
quantum/plugins/nec/common/ofc_client.py
quantum/plugins/ryu/agent/ryu_quantum_agent.py
quantum/plugins/services/agent_loadbalancer/drivers/haproxy/namespace_driver.py
quantum/server/__init__.py
quantum/tests/unit/database_stubs.py
quantum/wsgi.py