[dak/master 1/7] ls
do not warn about the notice file, but do it when the daily.lock is there.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/ls.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/ls.py b/dak/ls.py
index 4eb8e8c..544d366 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
--
1.6.3.3
Reply to: