kopia lustrzana https://github.com/kartoza/docker-osm
fix logc for adding lockfile after importer finishes (#100)
Co-authored-by: admire <admire@kartoza.com>pull/101/head
rodzic
4d8d4247fb
commit
c325b1a78e
|
@ -237,9 +237,6 @@ class Importer(object):
|
||||||
setup_lockfile = join(self.default['SETTINGS'], 'importer.lock')
|
setup_lockfile = join(self.default['SETTINGS'], 'importer.lock')
|
||||||
if not exists(setup_lockfile):
|
if not exists(setup_lockfile):
|
||||||
mknod(setup_lockfile)
|
mknod(setup_lockfile)
|
||||||
else:
|
|
||||||
remove(setup_lockfile)
|
|
||||||
mknod(setup_lockfile)
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
"""First checker."""
|
"""First checker."""
|
||||||
|
|
Ładowanie…
Reference in New Issue