refstack/refstack/db
Martin Kopec 23fcee1239 Remove decode call from db migrations script
This is a follow up on 'py3 only' changes. Previously in py2
current_name variable had unicode type, however in py3 it is
a str type which leads to an Attribute error when the code
is executed by py3 ('str' object has no attribute 'decode').

Now when refstack is py3 only, we don't need to be decoding
current_name variable, the patch removes this conversion.

More about str and unicode and their meaning in py2 and py3:
 * https://portingguide.readthedocs.io/en/latest/strings.html

Change-Id: Ibc76a8797b467d45b05c6e6e61d4bc703a5d701f
2021-01-28 19:11:46 +00:00
..
migrations Remove decode call from db migrations script 2021-01-28 19:11:46 +00:00
sqlalchemy Replace six by python3 code style 2021-01-11 20:33:56 +00:00
__init__.py Add authentication through openstackid.org 2015-07-02 16:20:55 +03:00
api.py Reconcile inconsistencies in the db api namescheme 2018-03-02 07:18:42 -08:00
migration.py Add oslo libraries and command-line utility 2015-02-04 16:54:59 +04:00
utils.py Fix failing pep gate 2015-10-10 13:07:52 -07:00