From: Alec Warner Date: Thu, 11 Jan 2007 21:52:33 +0000 (-0000) Subject: SpanKY likes the latin categories X-Git-Tag: v2.1.2~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd3317e5ad453622ad2d121e565c35589202112f;p=portage.git SpanKY likes the latin categories svn path=/main/trunk/; revision=5573 --- 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