mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2374
This commit is contained in:
parent
856593ce4e
commit
a2655aa910
|
@ -1,12 +1,14 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, re, boinc_path_config
|
import os, re, boinc_path_config
|
||||||
from Boinc import database, db_mid, boinc_db
|
from Boinc import database, db_mid, boinc_db, configxml
|
||||||
|
|
||||||
def get_file_path(wu):
|
|
||||||
return re.search('<name>(.*)</name>',wu.xml_doc).group(1)
|
|
||||||
|
|
||||||
database.connect()
|
database.connect()
|
||||||
|
config = configxml.default_config().config
|
||||||
|
|
||||||
|
def get_file_path(wu):
|
||||||
|
return os.path.join(config.upload_dir,
|
||||||
|
re.search('<name>(.*)</name>',wu.xml_doc).group(1))
|
||||||
|
|
||||||
print "Checking for missing input files ...\n"
|
print "Checking for missing input files ...\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue