mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 14:44:21 +01:00
Removes debug flags from old code
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from sys import argv, exit
|
|
||||||
from getopt import getopt
|
from getopt import getopt
|
||||||
|
from sys import argv, exit
|
||||||
from signal import signal, SIGINT, SIGQUIT, SIGTERM
|
from signal import signal, SIGINT, SIGQUIT, SIGTERM
|
||||||
|
|
||||||
from pisa.logger import Logger
|
from pisa.logger import Logger
|
||||||
@@ -23,8 +23,7 @@ if __name__ == '__main__':
|
|||||||
signal(SIGTERM, handle_signals)
|
signal(SIGTERM, handle_signals)
|
||||||
signal(SIGQUIT, handle_signals)
|
signal(SIGQUIT, handle_signals)
|
||||||
|
|
||||||
debug = False
|
opts, _ = getopt(argv[1:], '', [''])
|
||||||
opts, _ = getopt(argv[1:], 'd', ['debug'])
|
|
||||||
for opt, arg in opts:
|
for opt, arg in opts:
|
||||||
# FIXME: Leaving this here for future option/arguments
|
# FIXME: Leaving this here for future option/arguments
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user