From: Joerg Jaspert Date: Sun, 1 Nov 2009 21:01:34 +0000 (+0100) Subject: ls X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f91219923c546d11c4a491ef1ea923bef09ee44;p=dak ls do not warn about the notice file, but do it when the daily.lock is there. Signed-off-by: Joerg Jaspert --- 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