Mercurial > hg > mercurial-source
changeset 14941:4c01478991a3
test-filecache: change for python 2.4 compatibility
author | Lee Cantey <lcantey@gmail.com> |
---|---|
date | Thu, 28 Jul 2011 02:38:01 +0300 |
parents | d78b92353f26 |
children | 6312171468f7 |
files | tests/test-filecache.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-filecache.py +++ b/tests/test-filecache.py @@ -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