neutron-lbaas/neutron/services/loadbalancer/drivers
Angus Lees 35b6d164d6 Enable undefined-loop-variable pylint check
This required a trivial refactor of two existing cases in the codebase.

These two cases were perfectly correct, but the check uncovered a 3rd
case which was a real bug (fixed separately).  The new versions also
make it clear that if the loop fails to break early then the 'result' is
None (and thus an error) and not simply the last element.  On balance,
it's probably worth enforcing this small inconvenience to coding style.

Change-Id: I780a95241f1454c6886d91f980eb9ada7678a119
Related-Bug: #1362466
2014-11-28 11:40:41 +11:00
..
a10networks A10 Networks LBaaS v1 Driver 2014-08-20 16:42:03 -06:00
common Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
embrane Enforce log hints in neutron.services.loadbalancer 2014-11-20 17:07:36 +00:00
haproxy Enable undefined-loop-variable pylint check 2014-11-28 11:40:41 +11:00
logging_noop LBaaS new object model logging no-op driver 2014-06-25 23:12:52 -07:00
netscaler Enforce log hints in neutron.services.loadbalancer 2014-11-20 17:07:36 +00:00
radware Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
abstract_driver.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
driver_base.py LBaaS new object model logging no-op driver 2014-06-25 23:12:52 -07:00
driver_mixins.py LBaaS new object model logging no-op driver 2014-06-25 23:12:52 -07:00