Debian: remove duplicated .* in &file matching

master
Valentin Lorentz 2011-03-02 19:13:52 +01:00
parent cd9d5de94a
commit db445ed0b8
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class Debian(callbacks.Plugin, PeriodicFileDownloader):
if glob:
regexp = fnmatch.translate(glob.lstrip('/'))
regexp = regexp.rstrip('$')
regexp = ".*%s.* " % regexp
regexp = "%s.* " % regexp
try:
re_obj = re.compile(regexp, re.I)
except re.error, e: