From: Zac Medico Date: Sat, 2 Oct 2010 16:33:28 +0000 (-0700) Subject: Ensure repo in atom matches PMS 3.1.5. X-Git-Tag: v2.1.9.14~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=959d8a987e45c91caf3696b4acfe25d3289d6e45;p=portage.git Ensure repo in atom matches PMS 3.1.5. --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 3c651d22d..0867263cf 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -1503,7 +1503,7 @@ _slot_re = re.compile('^' + _slot + '$', re.VERBOSE) _use = r'\[.*\]' _op = r'([=~]|[><]=?)' _repo_separator = "::" -_repo_name = r'[\w+][\w+.-]*' +_repo_name = r'[\w][\w-]*' _repo = r'(?:' + _repo_separator + '(' + _repo_name + ')' + ')?' _atom_re = re.compile('^(?P(?:' +