소스 검색

flake8 error on master branch (fixes #5298)

Signed-off-by: Guillermo Arribas <[email protected]>
Guillermo Arribas 8 년 전
부모
커밋
2e81e6ceb2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 "