diff options
Diffstat (limited to 'subcmds')
| -rw-r--r-- | subcmds/forall.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py index e5fc9e80..9da0c96e 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py | |||
| @@ -279,7 +279,7 @@ without iterating through the remaining projects. | |||
| 279 | rc = rc or r | 279 | rc = rc or r |
| 280 | if r != 0 and opt.abort_on_errors: | 280 | if r != 0 and opt.abort_on_errors: |
| 281 | raise Exception("Aborting due to previous error") | 281 | raise Exception("Aborting due to previous error") |
| 282 | return rc | 282 | return rc |
| 283 | 283 | ||
| 284 | try: | 284 | try: |
| 285 | config = self.manifest.manifestProject.config | 285 | config = self.manifest.manifestProject.config |
| @@ -298,7 +298,7 @@ without iterating through the remaining projects. | |||
| 298 | ) | 298 | ) |
| 299 | except (KeyboardInterrupt, WorkerKeyboardInterrupt): | 299 | except (KeyboardInterrupt, WorkerKeyboardInterrupt): |
| 300 | # Catch KeyboardInterrupt raised inside and outside of workers | 300 | # Catch KeyboardInterrupt raised inside and outside of workers |
| 301 | rc = rc or errno.EINTR | 301 | rc = errno.EINTR |
| 302 | except Exception as e: | 302 | except Exception as e: |
| 303 | # Catch any other exceptions raised | 303 | # Catch any other exceptions raised |
| 304 | logger.error( | 304 | logger.error( |
| @@ -306,7 +306,7 @@ without iterating through the remaining projects. | |||
| 306 | type(e).__name__, | 306 | type(e).__name__, |
| 307 | e, | 307 | e, |
| 308 | ) | 308 | ) |
| 309 | rc = rc or getattr(e, "errno", 1) | 309 | rc = getattr(e, "errno", 1) |
| 310 | if rc != 0: | 310 | if rc != 0: |
| 311 | sys.exit(rc) | 311 | sys.exit(rc) |
| 312 | 312 | ||
