Donate CPU: add a short sleep after git clone/pull
This commit is contained in:
parent
dce3281766
commit
921a1a0396
|
@ -38,6 +38,7 @@ def getCppcheck(workPath):
|
||||||
subprocess.call(['git', 'pull'])
|
subprocess.call(['git', 'pull'])
|
||||||
else:
|
else:
|
||||||
subprocess.call(['git', 'clone', 'http://github.com/danmar/cppcheck.git', cppcheckPath])
|
subprocess.call(['git', 'clone', 'http://github.com/danmar/cppcheck.git', cppcheckPath])
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
def compile(cppcheckPath):
|
def compile(cppcheckPath):
|
||||||
print('Compiling Cppcheck..')
|
print('Compiling Cppcheck..')
|
||||||
|
|
Loading…
Reference in New Issue