From d5416c75fd5435530aa08379c4194894dff821e4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 31 Jan 2010 10:12:20 +0100 Subject: [PATCH] ud-mailgate: Remove a global declaration after a variable has already been assigned globally. --- debian/changelog | 7 +++++++ ud-mailgate | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 796be34..b8a751e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +userdir-ldap (0.3.77) unstable; urgency=low + + * ud-mailgate: Remove a global declaration after a variable has + already been assigned globally. + + -- Peter Palfrader Sun, 31 Jan 2010 10:11:48 +0100 + userdir-ldap (0.3.76) unstable; urgency=low [ Peter Palfrader ] diff --git a/ud-mailgate b/ud-mailgate index 65955f6..8f9e092 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -775,7 +775,6 @@ try: Date = time.strftime("%a, %d %b %Y %H:%M:%S +0000",time.gmtime(time.time())); Reply = "To: %s\nReply-To: %s\nDate: %s\n" % (Sender,ReplyTo,Date); - global ValidHostNames Res = l.search_s(HostBaseDn, ldap.SCOPE_SUBTREE, '(objectClass=debianServer)', ['hostname'] ) # Res is a list of tuples. # The tuples contain a dn (str) and a dictionary. -- 2.20.1