From e7cecf666b19b3bc870a28a798bfeb32fcb8f796 Mon Sep 17 00:00:00 2001 From: Ernest Prabhakar Date: Thu, 17 Aug 2023 20:50:04 -0700 Subject: [PATCH] cleanup comments --- lambdas/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lambdas/main.py b/lambdas/main.py index cef4bc1..658103c 100644 --- a/lambdas/main.py +++ b/lambdas/main.py @@ -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