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-06 15:41:38 -0700
commit959d8a987e45c91caf3696b4acfe25d3289d6e45 (patch)
treeeaff6d7a17561ddaae8817db40120d1cfa062aec
parent743ce95e7c2c0eac7acf9f54774a5f00f1f9406d (diff)
downloadportage-959d8a987e45c91caf3696b4acfe25d3289d6e45.tar.gz
portage-959d8a987e45c91caf3696b4acfe25d3289d6e45.tar.bz2
portage-959d8a987e45c91caf3696b4acfe25d3289d6e45.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>(?:' +