itMove lockpath to config instead of lock.py - amprolla - devuan's apt repo merger Err parazyd.org 70 hgit clone git://parazyd.org/amprolla.git URL:git://parazyd.org/amprolla.git parazyd.org 70 1Log /git/amprolla/log.gph parazyd.org 70 1Files /git/amprolla/files.gph parazyd.org 70 1Refs /git/amprolla/refs.gph parazyd.org 70 1README /git/amprolla/file/README.md.gph parazyd.org 70 1LICENSE /git/amprolla/file/LICENSE.gph parazyd.org 70 i--- Err parazyd.org 70 1commit e61dd7086ea88097c36143c4ee37e37ffb83ede0 /git/amprolla/commit/e61dd7086ea88097c36143c4ee37e37ffb83ede0.gph parazyd.org 70 1parent 590e458822ade96226382d34bea568d1d0c7d5ad /git/amprolla/commit/590e458822ade96226382d34bea568d1d0c7d5ad.gph parazyd.org 70 hAuthor: parazyd URL:mailto:parazyd@dyne.org parazyd.org 70 iDate: Sat, 16 Dec 2017 22:40:53 +0100 Err parazyd.org 70 i Err parazyd.org 70 iMove lockpath to config instead of lock.py Err parazyd.org 70 i Err parazyd.org 70 iDiffstat: Err parazyd.org 70 i M lib/config.def.py | 1 + Err parazyd.org 70 i M lib/lock.py | 2 +- Err parazyd.org 70 i Err parazyd.org 70 i2 files changed, 2 insertions(+), 1 deletion(-) Err parazyd.org 70 i--- Err parazyd.org 70 1diff --git a/lib/config.def.py b/lib/config.def.py /git/amprolla/file/lib/config.def.py.gph parazyd.org 70 it@@ -15,6 +15,7 @@ signingkey = 'CA608125' Err parazyd.org 70 i signrelease = True Err parazyd.org 70 i mergedir = './merged-volatile' Err parazyd.org 70 i mergesubdir = 'dists' Err parazyd.org 70 i+lockpath = '/run/lock/amprolla.lock' Err parazyd.org 70 i banpkgs = {'systemd', 'systemd-sysv'} Err parazyd.org 70 i checksums = [ Err parazyd.org 70 i # {'name': 'MD5Sum', 'f': md5}, Err parazyd.org 70 1diff --git a/lib/lock.py b/lib/lock.py /git/amprolla/file/lib/lock.py.gph parazyd.org 70 it@@ -9,9 +9,9 @@ from os import remove Err parazyd.org 70 i from os.path import isfile Err parazyd.org 70 i import sys Err parazyd.org 70 i Err parazyd.org 70 i+from lib.config import lockpath Err parazyd.org 70 i from lib.log import info Err parazyd.org 70 i Err parazyd.org 70 i-lockpath = '/run/lock/amprolla.lock' Err parazyd.org 70 i Err parazyd.org 70 i def check_lock(): Err parazyd.org 70 i """ Err parazyd.org 70 .