Răsfoiți Sursa

flake8 error on master branch (fixes #5298)

Signed-off-by: Guillermo Arribas <[email protected]>
Guillermo Arribas 8 ani în urmă
părinte
comite
2e81e6ceb2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 "