File: 000_SyntaxWarning.patch

package info (click to toggle)
pacparser 1.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,060 kB
  • sloc: ansic: 78,141; makefile: 436; perl: 395; python: 299; sh: 149; asm: 46; javascript: 38
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):