← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360861] Re: Module string has no more attribute letters in python 3

 

** 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/1360861

Title:
  Module string has no more attribute letters in python 3

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  According to the Python doc (https://docs.python.org/3.0/whatsnew/3.0.html), string.letters is not anymore in Python 3 due to its locale-specific behavior. Instead, it is recommended to use string.ascii_letters.
  This method is used only in the generate_key function (in horizon/utils/secret_key.py) to generate a random key for the settings.py file.

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


References