diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-06-05 13:48:08 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-06-06 11:34:55 +0000 |
commit | 20152018cb66d4c5d1d0031c74b27fdaa30a8d5e (patch) | |
tree | 0a8b6ffb457843f7ad3f7913d3ddc082c675919c | |
parent | e0bd68cabf4d2b182dee27e7c5db86d610bdc924 (diff) | |
download | buildstream-20152018cb66d4c5d1d0031c74b27fdaa30a8d5e.tar.gz |
jobs/job: lint fixes, overhang + unused var
-rw-r--r-- | src/buildstream/_scheduler/jobs/job.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_scheduler/jobs/job.py b/src/buildstream/_scheduler/jobs/job.py index 88156f3bf..2fb0788dd 100644 --- a/src/buildstream/_scheduler/jobs/job.py +++ b/src/buildstream/_scheduler/jobs/job.py @@ -679,7 +679,7 @@ class ChildJob(): # Time, log and and run the action function # with _signals.suspendable(stop_time, resume_time), \ - self._scheduler.context.recorded_messages(self._logfile) as filename: + self._scheduler.context.recorded_messages(self._logfile) as filename: self.message(MessageType.START, self.action_name, logfile=filename) @@ -715,7 +715,7 @@ class ChildJob(): # self._child_shutdown(RC_FAIL if retry_flag else RC_PERM_FAIL) - except Exception as e: # pylint: disable=broad-except + except Exception: # pylint: disable=broad-except # If an unhandled (not normalized to BstError) occurs, that's a bug, # send the traceback and formatted exception back to the frontend |