From: Thomas Leonard Date: Thu, 14 Feb 2013 20:59:35 +0000 (+0000) Subject: Use to run dependencies if possible X-Git-Tag: v0.14.2~1 X-Git-Url: https://repo.or.cz/w/0release.git/commitdiff_plain/a10157b7f37884faa943b6070573cab30c4b52bf Use to run dependencies if possible This is needed to support platforms where "python" is Python 3. The older bindings are still present to support running with old versions of 0install. --- diff --git a/0release.xml b/0release.xml index dd7750a..9d3ecc9 100644 --- a/0release.xml +++ b/0release.xml @@ -31,7 +31,8 @@ - + + @@ -39,7 +40,8 @@ - + + diff --git a/tests/testrelease.py b/tests/testrelease.py index c7127a6..3add727 100755 --- a/tests/testrelease.py +++ b/tests/testrelease.py @@ -40,7 +40,7 @@ def call_with_output_suppressed(cmd, stdin, expect_failure = False, **kwargs): def make_releases_dir(src_feed = '../hello/HelloWorld.xml', auto_upload = False): os.chdir('releases') - call_with_output_suppressed(['0launch', '-o', release_feed, src_feed], None) + call_with_output_suppressed(['0release', src_feed], None) assert os.path.isfile('make-release') lines = file('make-release').readlines()