apply black to the whole codebase.
This commit is contained in:
parent
420df3340d
commit
82e2c6efac
1 changed files with 175 additions and 448 deletions
|
|
@ -37,18 +37,16 @@ def get_new_path(path):
|
|||
|
||||
def check_options():
|
||||
"""Check command line options"""
|
||||
usage = _(
|
||||
"""
|
||||
usage = _("""
|
||||
%prog [options]
|
||||
|
||||
%prog --help for options list
|
||||
"""
|
||||
)
|
||||
""")
|
||||
parser = OptionParser(usage=usage) # TODO: use argparse
|
||||
|
||||
parser.add_option("-p", "--profile", help=_("Select the profile to use"))
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
options, args = parser.parse_args()
|
||||
if options.profile:
|
||||
options.profile = options.profile
|
||||
return options
|
||||
|
|
|
|||
Loading…
Reference in a new issue