mirror of https://github.com/yandex/gixy
minor style fixes
parent
f92423ea71
commit
d3b77216c4
|
@ -118,8 +118,8 @@ class ArgsParser(ArgumentParser):
|
||||||
for action in self._actions:
|
for action in self._actions:
|
||||||
config_file_keys = self.get_possible_config_keys(action)
|
config_file_keys = self.get_possible_config_keys(action)
|
||||||
if config_file_keys and not action.is_positional_arg and \
|
if config_file_keys and not action.is_positional_arg and \
|
||||||
already_on_command_line(existing_command_line_args,
|
already_on_command_line(existing_command_line_args,
|
||||||
action.option_strings):
|
action.option_strings):
|
||||||
value = getattr(parsed_namespace, action.dest, None)
|
value = getattr(parsed_namespace, action.dest, None)
|
||||||
if value is not None:
|
if value is not None:
|
||||||
if type(value) is bool:
|
if type(value) is bool:
|
||||||
|
|
|
@ -11,7 +11,6 @@ from gixy.core.config import Config
|
||||||
from gixy.cli.argparser import create_parser
|
from gixy.cli.argparser import create_parser
|
||||||
from gixy.core.exceptions import InvalidConfiguration
|
from gixy.core.exceptions import InvalidConfiguration
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger()
|
LOG = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue