diff --git a/checkin_notes b/checkin_notes index c9674ff836..e415748a58 100755 --- a/checkin_notes +++ b/checkin_notes @@ -7083,3 +7083,10 @@ David 25 Oct 2003 windows_opengl.C client/ scheduler_op.C + +Karl 2003-10-25 + - updated_versions: don't be so verbose unless "-v" verbose command-line + option is given + + tools/ + update_versions diff --git a/tools/update_versions b/tools/update_versions index 50b471049c..e130da0a9d 100755 --- a/tools/update_versions +++ b/tools/update_versions @@ -24,6 +24,13 @@ import boinc_path_config from Boinc import database, db_mid, configxml, tools import sys, os, glob, re, time +verbose = 0 +try: + if sys.argv[1] == '-v': + verbose = 1 +except: + pass + config = configxml.default_config().config database.connect() @@ -71,7 +78,8 @@ def find_versions(app, dir): if app: existing_versions = database.AppVersions.find(app=app, platform=platform, version_num=version_num) if existing_versions: - print " Skipping existing %s %3d: %s" %(app.name, version_num, file) + if verbose: + print " Skipping existing %s %3d: %s" %(app.name, version_num, file) continue print " Found %s version %s for %s: %s" %(app, version_num, platform, file) @@ -89,7 +97,8 @@ def find_versions(app, dir): else: existing_versions = database.CoreVersions.find(platform=platform, version_num=version_num) if existing_versions: - print " Skipping existing core version %s: %s" %(version_num, file) + if verbose: + print " Skipping existing core version %s: %s" %(version_num, file) continue print " Found core version %3d for %s: %s" %(version_num, platform, file)