← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: François Magimel (linkid)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => François Magimel (linkid)

-- 
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):
  New

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


Follow ups

References