diff --git a/nominatim/cli.py b/nominatim/cli.py index 78bfefc9..b3d9eee6 100644 --- a/nominatim/cli.py +++ b/nominatim/cli.py @@ -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: diff --git a/nominatim/tools/tiger_data.py b/nominatim/tools/tiger_data.py index 26f6beb2..f133ba00 100644 --- a/nominatim/tools/tiger_data.py +++ b/nominatim/tools/tiger_data.py @@ -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):