diff options
author | Ari Hausman-Cohen <arihc@google.com> | 2015-10-26 16:51:16 -0700 |
---|---|---|
committer | Ari Hausman-Cohen <arihc@google.com> | 2015-10-26 16:51:16 -0700 |
commit | 35fcc1de5420b25e0a7b69d81c27fdca0cf7a807 (patch) | |
tree | 13596d8bc561193ff98aa6db414570438c35f6bb | |
parent | f099f71bde81d4b428dd6e3210c37a012e060557 (diff) | |
download | bdk-35fcc1de5420b25e0a7b69d81c27fdca0cf7a807.tar.gz |
Fixing minor bugs in BSP download.
* Missed one variable rename
* incorrect return values
Change-Id: I43b56bb775c6d45294beca0810c821d63a054e7b
-rw-r--r-- | brunch/lib/bsp/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/brunch/lib/bsp/package.py b/brunch/lib/bsp/package.py index 5d08bf3..b8c4bc5 100644 --- a/brunch/lib/bsp/package.py +++ b/brunch/lib/bsp/package.py @@ -80,7 +80,7 @@ class Package(object): download_dir]) (out, err) = clone_process.communicate() if clone_process.returncode: - print "Trouble downloading package from", self.repo + print "Trouble downloading package from", self.remote return status.NOT_INSTALLED # Check that the correct revision was downloaded. @@ -111,7 +111,7 @@ class Package(object): (out, err) = fetch_process.communicate() if fetch_process.returncode: print "Trouble downloading package from", self.remote - return None + return status.NOT_INSTALLED # Unzip the tarball. unzip_process = self._popener.PopenPiped(["tar", "-C", download_dir, @@ -119,7 +119,7 @@ class Package(object): (out, err) = unzip_process.communicate() if unzip_process.returncode: print "Trouble unzipping package from", self.remote - return None + return status.NOT_INSTALLED # Check status by using a checksum with open(tarball_file) as tar: |