Migrate scripts to main_level_by_argv.
This commit is contained in:
parent
533f163be0
commit
dbe166188c
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ def update_argparse(args):
|
|||
db_commit()
|
||||
|
||||
def main(argv):
|
||||
argv = vlogging.set_level_by_argv(log, argv)
|
||||
argv = vlogging.main_level_by_argv(argv)
|
||||
vlogging.getLogger('urllib3.connectionpool').setLevel(vlogging.CRITICAL)
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
|
|
Loading…
Reference in a new issue