← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259560] Re: Range() in for loop need a refactor

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => icehouse-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1259560

Title:
  Range() in for loop need a refactor

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In some files, range was called as:
      for i in range(0, 10):
          pass
  Actually the start index arg was useless, since its defaultvalue is 0.
  They should be refactor as:
      for i in range(10):
          pass

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1259560/+subscriptions


References