Migrate scripts to main_level_by_argv.

This commit is contained in:
voussoir 2021-05-16 21:06:49 -07:00
parent 533f163be0
commit dbe166188c
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -547,7 +547,7 @@ def update_argparse(args):
db_commit() db_commit()
def main(argv): 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) vlogging.getLogger('urllib3.connectionpool').setLevel(vlogging.CRITICAL)
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()