summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-07 17:03:32 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-07 17:03:32 -0800
commitbcb84e1950401becf7ba24abea7a7165c9ea9edc (patch)
tree3e0f498ca45f36ee942bc0cc25730275648b41f8
parentparseManifest2: handle space in name, bug 450736 (diff)
downloadportage-bcb84e1950401becf7ba24abea7a7165c9ea9edc.tar.gz
portage-bcb84e1950401becf7ba24abea7a7165c9ea9edc.tar.bz2
portage-bcb84e1950401becf7ba24abea7a7165c9ea9edc.zip
Declare regex literal as such.
-rw-r--r--pym/portage/manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py
index 18ec5aa27..4a60a228c 100644
--- a/pym/portage/manifest.py
+++ b/pym/portage/manifest.py
@@ -27,7 +27,7 @@ from portage.const import (MANIFEST1_HASH_FUNCTIONS, MANIFEST2_HASH_DEFAULTS,
from portage.localization import _
_manifest_re = re.compile(
- r'^(' + '|'.join(MANIFEST2_IDENTIFIERS) + ') (.*)( \d+( \S+ \S+)+)$',
+ r'^(' + '|'.join(MANIFEST2_IDENTIFIERS) + r') (.*)( \d+( \S+ \S+)+)$',
re.UNICODE)
if sys.hexversion >= 0x3000000: