From: Zac Medico Date: Tue, 8 Jan 2013 01:03:32 +0000 (-0800) Subject: Declare regex literal as such. X-Git-Tag: v2.2.0_alpha150~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcb84e1950401becf7ba24abea7a7165c9ea9edc;p=portage.git Declare regex literal as such. --- 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: