yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07753
[Bug 1264182] [NEW] xrange not support python3
Public bug reported:
In file: openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py:
if icmp_type not in xrange(-1, 256):
if icmp_code not in xrange(-1, 256):
1. xrange is not supported in python3
2. we could replace xrange here with range
** Affects: horizon
Importance: Undecided
Assignee: Liang Bo (liang-bo-os)
Status: In Progress
** Changed in: horizon
Assignee: (unassigned) => Liang Bo (liang-bo-os)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1264182
Title:
xrange not support python3
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
In file: openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py:
if icmp_type not in xrange(-1, 256):
if icmp_code not in xrange(-1, 256):
1. xrange is not supported in python3
2. we could replace xrange here with range
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1264182/+subscriptions
Follow ups
References