From: Ansgar Burchardt Date: Thu, 20 Sep 2012 14:32:35 +0000 (+0200) Subject: dak/queue_report.py: don't die if dak.conf does not know about LDAP X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5008e9f4a416cbbe5dbaa1fec3741c941225b1;p=dak dak/queue_report.py: don't die if dak.conf does not know about LDAP --- diff --git a/dak/queue_report.py b/dak/queue_report.py index a2079e81..882eab2a 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=""