Closedown
This commit is contained in:
@@ -924,6 +924,8 @@ def main(args):
|
||||
guard.mainloop()
|
||||
except KeyboardInterrupt:
|
||||
logging.info("scan guard aborted by user")
|
||||
except:
|
||||
print sys.exc_info()[1]
|
||||
|
||||
|
||||
def test():
|
||||
@@ -970,6 +972,8 @@ if True: #__name__ == '__main__':
|
||||
parser.add_argument("-l", "--loglevel", dest="loglevel", default="INFO",
|
||||
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"])
|
||||
args = parser.parse_args()
|
||||
args.loglevel = logging.DEBUG
|
||||
|
||||
main(args)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user