Linting fixes

This commit is contained in:
Darkshredder 2021-03-08 23:10:49 +05:30
parent 122c4618b9
commit 14ec83c886
2 changed files with 5 additions and 5 deletions

View File

@ -168,10 +168,10 @@ class UpdateAddData:
def run(args):
if args.tiger_data:
return tiger_data.add_tiger_data(args.config.get_libpq_dsn(),
args.tiger_data,
args.threads or 1,
args.config,
args.sqllib_dir)
args.tiger_data,
args.threads or 1,
args.config,
args.sqllib_dir)
params = ['update.php']
if args.file:

View File

@ -54,7 +54,7 @@ def add_tiger_data(dsn, data_dir, threads, config, sqllib_dir):
lines = 0
end_of_file = False
total_used_threads = place_threads
while True :
while True:
if end_of_file:
break
for imod in range(place_threads):