diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2018-03-31 13:18:29 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2018-03-31 13:25:29 -0300 |
commit | f892a1845b62bcda1cddfd5c3054d6de677ced3e (patch) | |
tree | 7a28fab08db0cadaf0bd86c95f326eb0eeba9834 | |
parent | d25fdd077151725e87ba2dc3a5063dc03ddb12c7 (diff) |
Fix previous commit
And do not mention git-annex anymore
-rw-r--r-- | testsuites/testsuiteutils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuites/testsuiteutils.py b/testsuites/testsuiteutils.py index 27d9968..e3b6b3e 100644 --- a/testsuites/testsuiteutils.py +++ b/testsuites/testsuiteutils.py @@ -107,13 +107,12 @@ def update_assets(options, assets_dir): CHECKOUT_BRANCH_COMMAND = "git fetch origin && (git checkout origin/%s || git checkout tags/%s)" % ( GST_VALIDATE_TESTSUITE_VERSION, GST_VALIDATE_TESTSUITE_VERSION) if options.force_sync: - subprocess.check_call(["git", "reset", "--hard"], cwd=asset_dir) + subprocess.check_call(["git", "reset", "--hard"], cwd=assets_dir) print("Checking out %s" % GST_VALIDATE_TESTSUITE_VERSION) subprocess.check_call(CHECKOUT_BRANCH_COMMAND, shell=True, cwd=assets_dir) download_files(os.path.basename(os.path.join(assets_dir))) except Exception as e: - print("\nERROR: Could not update assets \n\n%s" - "\n\nMAKE SURE YOU HAVE git-annex INSTALLED!" % (e)) + print("\nERROR: Could not update assets \n\n: %s" % e) return False |