mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2276
This commit is contained in:
parent
0dc50cddba
commit
cd4280dbeb
|
@ -59,7 +59,7 @@ def find_versions(app, dir):
|
||||||
filepath = os.path.join(dir,file)
|
filepath = os.path.join(dir,file)
|
||||||
if os.path.isdir(filepath):
|
if os.path.isdir(filepath):
|
||||||
continue
|
continue
|
||||||
match = re.match('[^.]+_([0-9]+)[.]([0-9]+)_(.+)(?:[.]gz|[.]exe|[.]sit)?$', file)
|
match = re.match('[^.]+_([0-9]+)[.]([0-9]+)_(.+?)(?:[.]gz|[.]exe|[.]sit)?$', file)
|
||||||
if not match:
|
if not match:
|
||||||
print >>sys.stderr, " Ignoring unknown file", os.path.join(filepath)
|
print >>sys.stderr, " Ignoring unknown file", os.path.join(filepath)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue