summaryrefslogtreecommitdiff
path: root/dev-python/toml/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/toml/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/toml/files')
-rw-r--r--dev-python/toml/files/toml-0.10.0-depricationwarning.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/toml/files/toml-0.10.0-depricationwarning.patch b/dev-python/toml/files/toml-0.10.0-depricationwarning.patch
new file mode 100644
index 000000000000..6afcea90a5b1
--- /dev/null
+++ b/dev-python/toml/files/toml-0.10.0-depricationwarning.patch
@@ -0,0 +1,19 @@
+commit 660dd2d57278e6f608bbaedcaaa4529ace557e41
+Author: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
+Date: Mon Oct 8 23:32:53 2018 +0900
+
+ Change to avoid "DeprecationWarning: invalid escape sequence"
+
+diff --git a/toml/decoder.py b/toml/decoder.py
+index bed551b..aa468f2 100644
+--- a/toml/decoder.py
++++ b/toml/decoder.py
+@@ -44,7 +44,7 @@ except NameError:
+ FNFError = IOError
+
+
+-TIME_RE = re.compile("([0-9]{2}):([0-9]{2}):([0-9]{2})(\.([0-9]{3,6}))?")
++TIME_RE = re.compile(r"([0-9]{2}):([0-9]{2}):([0-9]{2})(\.([0-9]{3,6}))?")
+
+
+ class TomlDecodeError(ValueError):