]> git.decadent.org.uk Git - dak.git/commitdiff
dak/queue_report.py: don't die if dak.conf does not know about LDAP
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Sep 2012 14:32:35 +0000 (16:32 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Sep 2012 14:32:35 +0000 (16:32 +0200)
dak/queue_report.py

index a2079e81c10c869f301f5d0edc558ef6145d382e..882eab2a82ebe4d2e04c259d4ff62cff60ee6adc 100755 (executable)
@@ -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=""