X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4f1bdde32e46b1b7f7c4055771d394124cd0a345..f3c9578bcaf8a1981b160b14809e9dc1377cfb37:/nominatim/indexer/progress.py diff --git a/nominatim/indexer/progress.py b/nominatim/indexer/progress.py index 177e67b8..b758e10d 100644 --- a/nominatim/indexer/progress.py +++ b/nominatim/indexer/progress.py @@ -1,7 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only # -# This file is part of Nominatim. -# Copyright (C) 2020 Sarah Hoffmann +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 by the Nominatim developer community. +# For a full list of authors see the git log. """ Helpers for progress logging. """ @@ -63,7 +65,7 @@ class ProgressLogger: places_per_sec = self.done_places else: diff_seconds = (rank_end_time - self.rank_start_time).total_seconds() - places_per_sec = self.done_places/diff_seconds + places_per_sec = self.done_places / diff_seconds LOG.warning("Done %d/%d in %d @ %.3f per second - FINISHED %s\n", self.done_places, self.total_places, int(diff_seconds),