Ensure repo in atom matches PMS 3.1.5.
authorZac Medico <zmedico@gentoo.org>
Sat, 2 Oct 2010 16:33:28 +0000 (09:33 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 6 Oct 2010 22:41:38 +0000 (15:41 -0700)
pym/portage/dep/__init__.py

index 3c651d22d24bff212f2b278cd427f3d6663cc056..0867263cfa18e1ea02909e8273e52a6b720e8877 100644 (file)
@@ -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>(?:' +