Skip to content

Commit

Permalink
catch CalledProcessError
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed May 11, 2022
1 parent bf9291c commit 7ee5e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli50/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def main():
RemoteManifest = json.loads(subprocess.check_output([
"docker", "manifest", "inspect", f"{IMAGE}:{args['tag']}", "--verbose"
], stderr=subprocess.DEVNULL).decode("utf-8"))
except requests.RequestException:
except subprocess.CalledProcessError:
RemoteManifest = None

# Local digest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"console_scripts": ["cli50=cli50.__main__:main"]
},
url="https://github.com/cs50/cli50",
version="7.2.3",
version="7.2.4",
include_package_data=True
)

0 comments on commit 7ee5e09

Please sign in to comment.