oslo.db/oslo_db
Sean McGinnis 3c50cb5cce Fix deprecation warnings under py36
This addresses two sources of deprecation warnings.

The collections package has moved ABC classes under collections.abc. Six
does not support this move yet, so this updates the code to try to
import from the newer locations, and if that fails, import from the old
location.

Py36 is also more strict about escape sequences in strings. This happens
move often with regex strings that are valid regex but not a valid
normal string escape sequence. This addresses those errors by switching
to raw strings.

Change-Id: I4c61df6b6432b135297f38c02b4538e4ba56be51
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-11 11:03:59 +00:00
..
locale Imported Translations from Zanata 2018-03-01 06:16:38 +00:00
sqlalchemy Fix deprecation warnings under py36 2019-04-11 11:03:59 +00:00
tests Fix deprecation warnings under py36 2019-04-11 11:03:59 +00:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
_i18n.py Update the documentation link 2017-08-23 14:46:27 +08:00
api.py Improve exponential backoff for wrap_db_retry 2018-04-13 09:26:12 +08:00
concurrency.py Remove log translations 2017-03-30 08:42:42 +08:00
exception.py Move warnings to their own module 2018-10-17 14:04:42 +01:00
options.py Deprecate min_pool_size 2018-04-30 15:39:13 +00:00
warning.py Move warnings to their own module 2018-10-17 14:04:42 +01:00