mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-07 04:34:04 -05:00
fragattack: remove old code
This commit is contained in:
parent
a9d2bd7d6d
commit
d02e2d60b1
@ -20,12 +20,6 @@ def croprepr(p, length=175):
|
|||||||
return string[:length - 3] + "..."
|
return string[:length - 3] + "..."
|
||||||
return string
|
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):
|
def log_level2switch(options):
|
||||||
if options.debug >= 2: return ["-dd", "-K"]
|
if options.debug >= 2: return ["-dd", "-K"]
|
||||||
elif options.debug >= 1: return ["-d", "-K"]
|
elif options.debug >= 1: return ["-d", "-K"]
|
||||||
|
Loading…
Reference in New Issue
Block a user