diff options
author | Tobias Henkel <tobias.henkel@bmw.de> | 2017-12-27 10:00:29 +0100 |
---|---|---|
committer | Tobias Henkel <tobias.henkel@bmw.de> | 2017-12-27 10:00:29 +0100 |
commit | a56402e4d68d492098a58b6827f14b90d046c849 (patch) | |
tree | 5f31cb471cac65cebc9df59e3bab70c533f65631 | |
parent | fd7101b3b5065d009d3241470fca7069f6ec52f6 (diff) | |
download | zuul-a56402e4d68d492098a58b6827f14b90d046c849.tar.gz |
Remove unused method term_handler
This method seems to be superseeded by exit_handler and grep tells me
it is unused.
Change-Id: I5a4dc126acbbe1ac2f99153bc7757c4f6e46fc8c
-rwxr-xr-x | zuul/cmd/scheduler.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/zuul/cmd/scheduler.py b/zuul/cmd/scheduler.py index c3bfa5d86..d94e9ea17 100755 --- a/zuul/cmd/scheduler.py +++ b/zuul/cmd/scheduler.py @@ -67,10 +67,6 @@ class Scheduler(zuul.cmd.ZuulDaemonApp): self.stop_gear_server() sys.exit(0) - def term_handler(self, signum, frame): - self.stop_gear_server() - os._exit(0) - def start_gear_server(self): pipe_read, pipe_write = os.pipe() child_pid = os.fork() |