← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264182] Re: xrange not support python3

 

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

-- 
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):
  Fix Released

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


References