PEP8 fixes

This commit is contained in:
codingo
2019-01-06 12:30:07 +10:00
parent 7b084d73d2
commit d21d09727b
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@@ -56,6 +56,7 @@ class InputHelper(object):
return commands return commands
class InputParser(object): class InputParser(object):
def __init__(self): def __init__(self):
self._parser = self.setup_parser() self._parser = self.setup_parser()
@@ -96,7 +97,6 @@ class InputParser(object):
type=lambda x: InputHelper.check_positive(parser, x) type=lambda x: InputHelper.check_positive(parser, x)
) )
commands = parser.add_mutually_exclusive_group(required=True) commands = parser.add_mutually_exclusive_group(required=True)
commands.add_argument( commands.add_argument(
'-c', dest='command', '-c', dest='command',
@@ -110,7 +110,6 @@ class InputParser(object):
type=lambda x: InputHelper.readable_file(parser, x) type=lambda x: InputHelper.readable_file(parser, x)
) )
parser.add_argument( parser.add_argument(
'--no-cidr', dest='nocidr', action='store_true', default=False, '--no-cidr', dest='nocidr', action='store_true', default=False,
help='If set then CIDR notation in a target file will not be automatically ' help='If set then CIDR notation in a target file will not be automatically '