*** empty log message ***

svn path=/trunk/boinc/; revision=3511
This commit is contained in:
David Anderson 2004-06-08 20:28:26 +00:00
parent e7603e6bfe
commit be8eed5917
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ import sys, os, re, time
def get_current_core_version(): def get_current_core_version():
cursor = database.get_dbconnection().cursor() cursor = database.get_dbconnection().cursor()
cursor.execute('select max(version_num) from core_version') cursor.execute('select max(version_num) from core_version')
x = cursor.fetchall()[0].values()[0]
print 'len', x
if x == None:
return 0
return int(cursor.fetchall()[0].values()[0]) return int(cursor.fetchall()[0].values()[0])
verbose = 0 verbose = 0