File: 000_SyntaxWarning.patch

package info (click to toggle)
pacparser 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,276 kB
  • sloc: ansic: 72,713; python: 299; sh: 169; makefile: 144
file content (11 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/pymod/pacparser/__init__.py
+++ b/src/pymod/pacparser/__init__.py
@@ -33,7 +33,7 @@
 import re
 import sys
 
-_URL_REGEX = re.compile('^[^:]*:\/\/([^\/:]+)')
+_URL_REGEX = re.compile(r'^[^:]*:\/\/([^\/:]+)')
 
 class URLError(Exception):
   def __init__(self, url):