summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-26 13:27:41 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-26 13:27:41 -0400
commit6c996f42c53a36fc0406f836d64b8c1bec6f4bcc (patch)
tree34d153ff83cc20b19292a6b6c37d9851ce480f23 /src/lib/Bcfg2/Server/Plugins/Packages/Source.py
parent64eec5fe6a9b640bb77dd65f10f3fac5a586347c (diff)
downloadbcfg2-6c996f42c53a36fc0406f836d64b8c1bec6f4bcc.tar.gz
bcfg2-6c996f42c53a36fc0406f836d64b8c1bec6f4bcc.tar.bz2
bcfg2-6c996f42c53a36fc0406f836d64b8c1bec6f4bcc.zip
testsuite: fixed issues found by latest version of pylint
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Packages/Source.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Packages/Source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
index 0c6ee0759..b4d481459 100644
--- a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
+++ b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py
@@ -65,7 +65,7 @@ def fetch_url(url):
:raises: URLError - Failure fetching URL
:returns: string - the content of the page at the given URL """
if '@' in url:
- mobj = re.match('(\w+://)([^:]+):([^@]+)@(.*)$', url)
+ mobj = re.match(r'(\w+://)([^:]+):([^@]+)@(.*)$', url)
if not mobj:
raise ValueError("Invalid URL")
user = mobj.group(2)