kopia lustrzana https://github.com/kartoza/docker-osm
fix conflict
rodzic
722ba1b60e
commit
db949996b9
|
@ -19,8 +19,9 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from os import environ, listdir, mknod
|
from os import environ, listdir
|
||||||
from os.path import join, exists, abspath, isabs
|
from os.path import join, exists, abspath, isabs
|
||||||
|
from pathlib import Path
|
||||||
from shutil import move
|
from shutil import move
|
||||||
from subprocess import call
|
from subprocess import call
|
||||||
from sys import exit, stderr
|
from sys import exit, stderr
|
||||||
|
@ -242,7 +243,7 @@ class Importer(object):
|
||||||
def lockfile(self):
|
def lockfile(self):
|
||||||
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)
|
Path(setup_lockfile).touch()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
"""First checker."""
|
"""First checker."""
|
||||||
|
|
Ładowanie…
Reference in New Issue