projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfad85
)
SpanKY likes the latin categories
author
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:52:33 +0000
(21:52 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:52:33 +0000
(21:52 -0000)
svn path=/main/trunk/; revision=5573
pym/portage_versions.py
patch
|
blob
|
history
diff --git
a/pym/portage_versions.py
b/pym/portage_versions.py
index 929595c130f20be81f304ba5094b98bcb37384dd..7153191671f20ccf54df7bf42ceb1ca9814ffa1a 100644
(file)
--- a/
pym/portage_versions.py
+++ b/
pym/portage_versions.py
@@
-267,7
+267,7
@@
def catpkgsplit(mydata,silent=1):
"""
# Categories may contain a-zA-z0-9+_- but cannot start with -
- valid_category = re.compile("^
[A-Za-z0-9+_][A-Za-z0-9+_
-]*")
+ valid_category = re.compile("^
\w[\w
-]*")
try:
if not catcache[mydata]:
return None