mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
test-filecache: change for python 2.4 compatibility
This commit is contained in:
parent
50825774f7
commit
974aa0a16d
@ -1,8 +1,6 @@
|
||||
import sys, os, subprocess
|
||||
|
||||
try:
|
||||
subprocess.check_call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable'])
|
||||
except subprocess.CalledProcessError:
|
||||
if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
|
||||
sys.exit(80)
|
||||
|
||||
from mercurial import util, scmutil, extensions
|
||||
|
Loading…
Reference in New Issue
Block a user