summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-12 08:48:19 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-12 08:48:19 +0000
commit2f65afdb8c02b5ca619dc351f1af4837946ab32a (patch)
treee4619bf333b629690ea4593e9f342fce22fe64ae
parent6518754b26d59a9dbb5a56a79075499a8dd27f8a (diff)
downloadportage-2f65afdb8c02b5ca619dc351f1af4837946ab32a.tar.gz
portage-2f65afdb8c02b5ca619dc351f1af4837946ab32a.tar.bz2
portage-2f65afdb8c02b5ca619dc351f1af4837946ab32a.zip
Use r'' for regex.
svn path=/main/trunk/; revision=14013
-rw-r--r--pym/repoman/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index 4650e7d50..76425a817 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -516,7 +516,7 @@ def run_checks(contents, pkg):
if here_doc_delim is None:
here_doc = _here_doc_re.match(line)
if here_doc is not None:
- here_doc_delim = re.compile('^\s*%s$' % here_doc.group(1))
+ here_doc_delim = re.compile(r'^\s*%s$' % here_doc.group(1))
if here_doc_delim is None:
# We're not in a here-document.