forked from hans/Nominatim
Linting fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user