projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
743ce95
)
Ensure repo in atom matches PMS 3.1.5.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 2 Oct 2010 16:33:28 +0000
(09:33 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 6 Oct 2010 22:41:38 +0000
(15:41 -0700)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 3c651d22d24bff212f2b278cd427f3d6663cc056..0867263cfa18e1ea02909e8273e52a6b720e8877 100644
(file)
--- 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>(?:' +