diff options
author | Sean McGinnis <sean.mcginnis@gmail.com> | 2019-04-09 16:49:11 -0500 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2019-04-11 11:03:59 +0000 |
commit | 3c50cb5cce82101a7be491ea24a713d70ca064e3 (patch) | |
tree | d63ff14ade40f72dfda48d97603f0802a53dbe68 /.gitignore | |
parent | 57333e902a3747715b2f13ea63477cc4aedc2129 (diff) | |
download | oslo-db-3c50cb5cce82101a7be491ea24a713d70ca064e3.tar.gz |
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>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ AUTHORS .update-venv/ ChangeLog *.egg +*.eggs .stestr/ oslo.db.egg-info/ doc/source/reference/api |