PEP8 fixes.

This commit is contained in:
XhmikosR 2014-02-20 11:03:55 +02:00
parent 94454df14f
commit aabee422e0
2 changed files with 10 additions and 6 deletions

View File

@ -17,6 +17,8 @@ def wget(url):
return ''
# Perform a git pull.
def gitpull():
try:
subprocess.call(['git', 'pull'])

View File

@ -131,6 +131,7 @@ def daca2report():
subprocess.call(['python', 'tools/daca2-report.py', 'daca2-report'])
upload('-r daca2-report', 'htdocs/devinfo/')
def daca2folder():
oldresults = glob.glob(os.path.expanduser('~/daca2/*/results.txt'))
oldestfolder = None
@ -151,6 +152,7 @@ def daca2folder():
return oldestfolder
def daca2():
folder = daca2folder()
print('Daca2 folder=' + folder)