From 2f91219923c546d11c4a491ef1ea923bef09ee44 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 1 Nov 2009 22:01:34 +0100 Subject: [PATCH] ls do not warn about the notice file, but do it when the daily.lock is there. Signed-off-by: Joerg Jaspert --- dak/ls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/ls.py b/dak/ls.py index 4eb8e8c8..544d366c 100755 --- a/dak/ls.py +++ b/dak/ls.py @@ -91,7 +91,7 @@ def main (): session = DBConn().session() # If cron.daily is running; warn the user that our output might seem strange - if os.path.exists(os.path.join(cnf["Dir::Root"], "Archive_Maintenance_In_Progress")): + if os.path.exists(os.path.join(cnf["Dir::Lock"], "daily.lock")): utils.warn("Archive maintenance is in progress; database inconsistencies are possible.") # Handle buildd maintenance helper options -- 2.39.5