mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 23:04:24 +01:00
Removed debug statements
This commit is contained in:
@@ -118,7 +118,6 @@ class InputHelper(object):
|
|||||||
# process targets first
|
# process targets first
|
||||||
if arguments.target:
|
if arguments.target:
|
||||||
ranges.add(arguments.target)
|
ranges.add(arguments.target)
|
||||||
print("List made")
|
|
||||||
else:
|
else:
|
||||||
targetFile = arguments.target_list
|
targetFile = arguments.target_list
|
||||||
if not sys.stdin.isatty():
|
if not sys.stdin.isatty():
|
||||||
@@ -138,7 +137,6 @@ class InputHelper(object):
|
|||||||
# removing elements that may have spaces (helpful for easily processing comma notation)
|
# removing elements that may have spaces (helpful for easily processing comma notation)
|
||||||
for target in ranges:
|
for target in ranges:
|
||||||
target = target.replace(" ", "")
|
target = target.replace(" ", "")
|
||||||
print("Fixing spaces")
|
|
||||||
|
|
||||||
for ips in target.split(","):
|
for ips in target.split(","):
|
||||||
|
|
||||||
@@ -157,7 +155,6 @@ class InputHelper(object):
|
|||||||
targets.update(InputHelper._get_ips_from_glob(ips))
|
targets.update(InputHelper._get_ips_from_glob(ips))
|
||||||
else:
|
else:
|
||||||
targets.add(ips)
|
targets.add(ips)
|
||||||
print("added")
|
|
||||||
|
|
||||||
# removing elements that may have spaces (helpful for easily processing comma notation)
|
# removing elements that may have spaces (helpful for easily processing comma notation)
|
||||||
for exclusion in exclusions_ranges:
|
for exclusion in exclusions_ranges:
|
||||||
@@ -180,7 +177,6 @@ class InputHelper(object):
|
|||||||
else:
|
else:
|
||||||
exclusions.add(ips)
|
exclusions.add(ips)
|
||||||
|
|
||||||
print("removed")
|
|
||||||
# difference operation
|
# difference operation
|
||||||
targets -= exclusions
|
targets -= exclusions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user