Explorar el Código

flake8 error on master branch (fixes #5298)

Signed-off-by: Guillermo Arribas <[email protected]>
Guillermo Arribas hace 8 años
padre
commit
2e81e6ceb2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 "