File: SyntaxWarning.patch

package info (click to toggle)
python-webdavclient 3.14.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 652 kB
  • sloc: python: 2,241; xml: 535; makefile: 5; sh: 3
file content (11 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/webdav3/urn.py
+++ b/webdav3/urn.py
@@ -8,7 +8,7 @@
     def __init__(self, path, directory=False):
 
         self._path = quote(path)
-        expressions = "/\.+/", "/+"
+        expressions = (r"/\.+/", "/+")
         for expression in expressions:
             self._path = sub(expression, Urn.separate, self._path)