diff options
author | kballou <kballou@devnulllabs.io> | 2014-07-31 23:30:03 -0600 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2014-07-31 23:31:42 -0600 |
commit | 3bfb4cc56d45cfb6e531746e6eb33b924279aedc (patch) | |
tree | aebbf97d321ba07fbe1680091645fd842649e891 /xnt | |
parent | 02baae1369bc70f1f2cc13069557e054e1e03122 (diff) | |
download | xnt-3bfb4cc56d45cfb6e531746e6eb33b924279aedc.tar.gz xnt-3bfb4cc56d45cfb6e531746e6eb33b924279aedc.tar.xz |
pylint: W0703, catch RuntimeError instead
Diffstat (limited to 'xnt')
-rw-r--r-- | xnt/tasks/core_tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnt/tasks/core_tasks.py b/xnt/tasks/core_tasks.py index ba5ff41..a6b6d0f 100644 --- a/xnt/tasks/core_tasks.py +++ b/xnt/tasks/core_tasks.py @@ -264,7 +264,7 @@ def __xntcall__(buildfile, targets=None, props=None): except AttributeError: LOGGER.error("There was no target: %s", target_name) return ERROR - except Exception as ex: + except RuntimeError as ex: LOGGER.critical(ex) return UNKNOWN_ERROR if not targets: |