diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-06-18 15:28:21 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-04 15:01:50 +0000 |
commit | 866f114ca2a9d51e285e2887c9dd4359206851e1 (patch) | |
tree | 584eb6ca317111d7dbe62d34c5e2e4ef1388e3f7 /src/buildstream/_scheduler | |
parent | a80adc03bfa6cd2ba7a7fe3981f00556e5e1f5da (diff) | |
download | buildstream-866f114ca2a9d51e285e2887c9dd4359206851e1.tar.gz |
_scheduler/./queue.py: remove unused 'e' vars
Diffstat (limited to 'src/buildstream/_scheduler')
-rw-r--r-- | src/buildstream/_scheduler/queues/queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_scheduler/queues/queue.py b/src/buildstream/_scheduler/queues/queue.py index 9a07f633c..7c577e7bd 100644 --- a/src/buildstream/_scheduler/queues/queue.py +++ b/src/buildstream/_scheduler/queues/queue.py @@ -259,7 +259,7 @@ class Queue(): workspaces.save_config() except BstError as e: self._message(element, MessageType.ERROR, "Error saving workspaces", detail=str(e)) - except Exception as e: # pylint: disable=broad-except + except Exception: # pylint: disable=broad-except self._message(element, MessageType.BUG, "Unhandled exception while saving workspaces", detail=traceback.format_exc()) @@ -302,7 +302,7 @@ class Queue(): # set_last_task_error(e.domain, e.reason) - except Exception as e: # pylint: disable=broad-except + except Exception: # pylint: disable=broad-except # Report unhandled exceptions and mark as failed # |