summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2019-04-09 16:49:11 -0500
committerStephen Finucane <stephenfin@redhat.com>2019-04-11 11:03:59 +0000
commit3c50cb5cce82101a7be491ea24a713d70ca064e3 (patch)
treed63ff14ade40f72dfda48d97603f0802a53dbe68 /.gitignore
parent57333e902a3747715b2f13ea63477cc4aedc2129 (diff)
downloadoslo-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--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 610d560..c49303e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ AUTHORS
.update-venv/
ChangeLog
*.egg
+*.eggs
.stestr/
oslo.db.egg-info/
doc/source/reference/api