[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] dak/queue_report.py: don't die if dak.conf does not know about LDAP



---
 dak/queue_report.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index a2079e8..882eab2 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -416,7 +416,10 @@ def process_queue(queue, log, rrd_dir):
     max_source_len = 0
     max_version_len = 0
     max_arch_len = 0
-    logins = get_logins_from_ldap()
+    try:
+        logins = get_logins_from_ldap()
+    except:
+        logins = dict()
     for i in per_source_items:
         maintainer = {}
         maint=""
-- 
1.7.2.5



Reply to: