Skip to content

Commit

Permalink
cleanup comments
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Aug 18, 2023
1 parent 2eb5c8a commit e7cecf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lambdas/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ def push_package(self, tmpdir_path):
pkg = quilt3.Package()
try:
pkg = quilt3.Package.browse(self.pkg_name, registry=self.registry)
# see if package name already exists; otherwise use default
except botocore_exceptions.ClientError as e:
# XXX: quilt3 should raise some specific exception
# when package doesn't exist.
if e.response["Error"]["Code"] not in ("NoSuchKey", "404"):
raise

Expand Down

0 comments on commit e7cecf6

Please sign in to comment.