tMove lockpath to config instead of lock.py - amprolla - devuan's apt repo merger HTML git clone git://parazyd.org/amprolla.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit e61dd7086ea88097c36143c4ee37e37ffb83ede0 DIR parent 590e458822ade96226382d34bea568d1d0c7d5ad HTML Author: parazyd <parazyd@dyne.org> Date: Sat, 16 Dec 2017 22:40:53 +0100 Move lockpath to config instead of lock.py Diffstat: M lib/config.def.py | 1 + M lib/lock.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/config.def.py b/lib/config.def.py t@@ -15,6 +15,7 @@ signingkey = 'CA608125' signrelease = True mergedir = './merged-volatile' mergesubdir = 'dists' +lockpath = '/run/lock/amprolla.lock' banpkgs = {'systemd', 'systemd-sysv'} checksums = [ # {'name': 'MD5Sum', 'f': md5}, DIR diff --git a/lib/lock.py b/lib/lock.py t@@ -9,9 +9,9 @@ from os import remove from os.path import isfile import sys +from lib.config import lockpath from lib.log import info -lockpath = '/run/lock/amprolla.lock' def check_lock(): """