mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
A minor variable name change.
This commit is contained in:
parent
5861a5e07c
commit
50d0b8bd85
@ -47,10 +47,10 @@ if sys.version_info < (2, 3, 0):
|
||||
sys.stderr.write('This program requires Python >= 2.3.0\n')
|
||||
sys.exit(-1)
|
||||
|
||||
def signalHandler(signalNumber, stackFrame):
|
||||
def _termHandler(signalNumber, stackFrame):
|
||||
raise SystemExit, 'Signal #%s' % signalNumber
|
||||
|
||||
signal.signal(signal.SIGTERM, signalHandler)
|
||||
signal.signal(signal.SIGTERM, _termHandler)
|
||||
|
||||
import time
|
||||
import optparse
|
||||
|
Loading…
Reference in New Issue
Block a user