X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4e6c75040e0deaabba44e86bb87c80e176a06896..c2629bc08d081262a7fd1cbd9d52acb5f44bd8ec:/utils/osm_file_date.py?ds=sidebyside diff --git a/utils/osm_file_date.py b/utils/osm_file_date.py index 6418efb0..88d0a4c0 100755 --- a/utils/osm_file_date.py +++ b/utils/osm_file_date.py @@ -28,6 +28,7 @@ if __name__ == '__main__': h.apply_file(sys.argv[1]) - print(h.filedate) - + if h.filedate is None: + exit(5) + print(h.filedate)