From: Peter Palfrader Date: Sun, 31 Jan 2010 09:12:20 +0000 (+0100) Subject: ud-mailgate: Remove a global declaration after a variable has already been assigned... X-Git-Tag: userdir-ldap-0.3.77~27 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=d5416c75fd5435530aa08379c4194894dff821e4 ud-mailgate: Remove a global declaration after a variable has already been assigned globally. --- 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.