fragattack: remove old code

This commit is contained in:
Mathy Vanhoef 2020-08-21 14:47:53 +04:00
parent a9d2bd7d6d
commit d02e2d60b1

View File

@ -20,12 +20,6 @@ def croprepr(p, length=175):
return string[:length - 3] + "..."
return string
def argv_pop_argument(argument):
if not argument in sys.argv: return False
idx = sys.argv.index(argument)
del sys.argv[idx]
return True
def log_level2switch(options):
if options.debug >= 2: return ["-dd", "-K"]
elif options.debug >= 1: return ["-d", "-K"]