yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07084
[Bug 1259560] [NEW] Range() in for loop need a refactor
Public bug reported:
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
** Affects: neutron
Importance: Undecided
Assignee: Wu Wenxiang (wu-wenxiang)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Wu Wenxiang (wu-wenxiang)
--
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):
In Progress
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
Follow ups
References