fix linter warnings
This commit is contained in:
parent
e3b0eac636
commit
01e6cb31d1
1 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ def parseArguments():
|
||||||
parser.add_argument('--alternate-project', dest='alternate_project',
|
parser.add_argument('--alternate-project', dest='alternate_project',
|
||||||
help='optional alternate project name; auto-discovered project '+
|
help='optional alternate project name; auto-discovered project '+
|
||||||
'takes priority')
|
'takes priority')
|
||||||
parser.add_argument('--alternate-language', dest='alternate_language',
|
parser.add_argument('--alternate-language', dest='alternate_language',
|
||||||
help=argparse.SUPPRESS)
|
help=argparse.SUPPRESS)
|
||||||
parser.add_argument('--language', dest='language',
|
parser.add_argument('--language', dest='language',
|
||||||
help='optional language name; if valid, takes priority over '+
|
help='optional language name; if valid, takes priority over '+
|
||||||
|
@ -223,9 +223,9 @@ def parseArguments():
|
||||||
is_valid = not not re.match(pattern, args.proxy, re.I)
|
is_valid = not not re.match(pattern, args.proxy, re.I)
|
||||||
if not is_valid:
|
if not is_valid:
|
||||||
parser.error('Invalid proxy. Must be in format ' +
|
parser.error('Invalid proxy. Must be in format ' +
|
||||||
'https://user:pass@host:port or ' +
|
'https://user:pass@host:port or ' +
|
||||||
'socks5://user:pass@host:port or ' +
|
'socks5://user:pass@host:port or ' +
|
||||||
'domain\\user:pass.')
|
'domain\\user:pass.')
|
||||||
if configs.has_option('settings', 'no_ssl_verify'):
|
if configs.has_option('settings', 'no_ssl_verify'):
|
||||||
args.nosslverify = configs.getboolean('settings', 'no_ssl_verify')
|
args.nosslverify = configs.getboolean('settings', 'no_ssl_verify')
|
||||||
if not args.verbose and configs.has_option('settings', 'verbose'):
|
if not args.verbose and configs.has_option('settings', 'verbose'):
|
||||||
|
|
Loading…
Reference in a new issue