Fix pylint warnings

This commit is contained in:
Roman Zeyde
2019-09-26 08:55:10 +03:00
parent b75cf74976
commit ab6892f42f
4 changed files with 4 additions and 7 deletions

View File

@@ -78,8 +78,7 @@ def create_agent_parser(device_type):
p.add_argument('--version', help='print the version info',
action='version', version=versions)
curve_names = [name for name in formats.SUPPORTED_CURVES]
curve_names = ', '.join(sorted(curve_names))
curve_names = ', '.join(sorted(formats.SUPPORTED_CURVES))
p.add_argument('-e', '--ecdsa-curve-name', metavar='CURVE',
default=formats.CURVE_NIST256,
help='specify ECDSA curve name: ' + curve_names)