summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-02 09:33:28 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-02 09:33:28 -0700
commit20c90e275d3fc9826fbafb4e80e3007730b9de1e (patch)
tree1544ea3e0910e852be5d152b45b6cd08e1c31013
parentf195e7bee59984c6518c67bd0d13718dcbb67a1e (diff)
downloadportage-20c90e275d3fc9826fbafb4e80e3007730b9de1e.tar.gz
portage-20c90e275d3fc9826fbafb4e80e3007730b9de1e.tar.bz2
portage-20c90e275d3fc9826fbafb4e80e3007730b9de1e.zip
Ensure repo in atom matches PMS 3.1.5.
-rw-r--r--pym/portage/dep/__init__.py2
1 files changed, 1 insertions, 1 deletions
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<without_use>(?:' +