Browse Source

flake8 error on master branch (fixes #5298)

Signed-off-by: Guillermo Arribas <[email protected]>
Guillermo Arribas 8 năm trước cách đây
mục cha
commit
2e81e6ceb2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compose/bundle.py

+ 1 - 1
compose/bundle.py

@@ -121,7 +121,7 @@ def get_image_digest(service, allow_push=False):
 def push_image(service):
     try:
         digest = service.push()
-    except:
+    except Exception:
         log.error(
             "Failed to push image for service '{s.name}'. Please use an "
             "image tag that can be pushed to a Docker "