From 0dc50cddba2ed479b32669d74fd0567213100309 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Fri, 5 Sep 2003 22:44:04 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2275 --- py/Boinc/db_mid.py | 3 ++- py/Boinc/tools.py | 1 + sched/.cvsignore | 3 +++ tools/.cvsignore | 1 + tools/update_versions | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 sched/.cvsignore create mode 100644 tools/.cvsignore diff --git a/py/Boinc/db_mid.py b/py/Boinc/db_mid.py index 9bd91a1e45..52a6c8844a 100644 --- a/py/Boinc/db_mid.py +++ b/py/Boinc/db_mid.py @@ -30,7 +30,8 @@ class front_App: class front_AppVersion: def __repr__(self): - return ''%(self.id, self.app.name, self.version_num) + return ''%(self.id, self.app.name, + self.version_num, self.platform.name) class front_User: def __repr__(self): diff --git a/py/Boinc/tools.py b/py/Boinc/tools.py index d55784ea86..cb04dfe0de 100644 --- a/py/Boinc/tools.py +++ b/py/Boinc/tools.py @@ -1,5 +1,6 @@ ## $Id$ +import boinc_path_config import configxml import os, md5, shutil diff --git a/sched/.cvsignore b/sched/.cvsignore new file mode 100644 index 0000000000..2215ab1520 --- /dev/null +++ b/sched/.cvsignore @@ -0,0 +1,3 @@ +transitioner +sign_executable +validate_trivial diff --git a/tools/.cvsignore b/tools/.cvsignore new file mode 100644 index 0000000000..f2180ddba2 --- /dev/null +++ b/tools/.cvsignore @@ -0,0 +1 @@ +sign_executable diff --git a/tools/update_versions b/tools/update_versions index c6a9d9e482..e5b49eca7d 100755 --- a/tools/update_versions +++ b/tools/update_versions @@ -59,7 +59,7 @@ def find_versions(app, dir): filepath = os.path.join(dir,file) if os.path.isdir(filepath): 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: print >>sys.stderr, " Ignoring unknown file", os.path.join(filepath) continue