mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3511
This commit is contained in:
parent
e7603e6bfe
commit
be8eed5917
|
@ -39,6 +39,10 @@ import sys, os, re, time
|
|||
def get_current_core_version():
|
||||
cursor = database.get_dbconnection().cursor()
|
||||
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])
|
||||
|
||||
verbose = 0
|
||||
|
|
Loading…
Reference in New Issue