mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 14:02:12 +03:00
Linting fixes
This commit is contained in:
parent
122c4618b9
commit
14ec83c886
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user