summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-11 21:52:33 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-11 21:52:33 +0000
commitdd3317e5ad453622ad2d121e565c35589202112f (patch)
treede19981801ec40de1c72599dd30b1632b8546f84
parent5cfad85f4db29b098a8063afa286059fcdc364dc (diff)
downloadportage-dd3317e5ad453622ad2d121e565c35589202112f.tar.gz
portage-dd3317e5ad453622ad2d121e565c35589202112f.tar.bz2
portage-dd3317e5ad453622ad2d121e565c35589202112f.zip
SpanKY likes the latin categories
svn path=/main/trunk/; revision=5573
-rw-r--r--pym/portage_versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_versions.py b/pym/portage_versions.py
index 929595c13..715319167 100644
--- 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