EquoInterface/get_meant_package():

- ignore strings too long


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2561 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-10-24 10:05:57 +00:00
parent 438aa6c9c7
commit 9488f70dbb
+4 -1
View File
@@ -1442,7 +1442,10 @@ class EquoInterface(TextInterface):
if x.isalpha():
x = "(%s{1,})?" % (x,)
match_string += x
match_exp = re.compile(match_string,re.IGNORECASE)
try:
match_exp = re.compile(match_string,re.IGNORECASE)
except AssertionError: # too many groups
return set()
matched = {}
valid_repos = self.validRepositories