]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix H302 violations in extensions package
authorJakub Libosvar <libosvar@redhat.com>
Fri, 18 Apr 2014 13:31:55 +0000 (15:31 +0200)
committerJakub Libosvar <libosvar@redhat.com>
Wed, 23 Apr 2014 15:21:11 +0000 (17:21 +0200)
commitd1c0e73bc6247d4f4e7093eadb0df6186ae2546e
treea15eea4afeb212db39734476db6604d26317f54b
parent5966e13dd373bb6f1ca6f196cb24ecfa40c73b2d
Fix H302 violations in extensions package

H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: I570eeee2a7633c1590b54ac98b411a71fc9d4f4e
Partial-Bug: #1291032
neutron/extensions/agent.py
neutron/extensions/dhcpagentscheduler.py
neutron/extensions/firewall.py
neutron/extensions/l3.py
neutron/extensions/l3agentscheduler.py
neutron/extensions/lbaas_agentscheduler.py
neutron/extensions/loadbalancer.py
neutron/extensions/quotasv2.py
neutron/extensions/securitygroup.py
neutron/extensions/vpnaas.py