forked from premiere/premiere-libtorrent
one more svn fix in regression tests
This commit is contained in:
parent
fdbe37ea39
commit
9f50662c92
|
@ -106,15 +106,13 @@ def loop():
|
||||||
rev_file = os.path.join(os.getcwd(), '.rev')
|
rev_file = os.path.join(os.getcwd(), '.rev')
|
||||||
if skip:
|
if skip:
|
||||||
sys.argv.remove('-s')
|
sys.argv.remove('-s')
|
||||||
last_rev = run_tests.svn_info()[0] - 1
|
print 'restoring last state from "%s"' % rev_file
|
||||||
else:
|
|
||||||
print 'restoring last state from "%s"' % rev_file
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
last_rev = int(open(rev_file, 'r').read())
|
last_rev = int(open(rev_file, 'r').read())
|
||||||
except:
|
except:
|
||||||
last_rev = run_tests.svn_info()[0] - 1
|
last_rev = run_tests.svn_info()[0] - 1
|
||||||
open(rev_file, 'w+').write('%d' % last_rev)
|
open(rev_file, 'w+').write('%d' % last_rev)
|
||||||
|
|
||||||
revs = []
|
revs = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue