ud-mailgate: Remove a global declaration after a variable has already been assigned...
authorPeter Palfrader <peter@palfrader.org>
Sun, 31 Jan 2010 09:12:20 +0000 (10:12 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 31 Jan 2010 09:12:20 +0000 (10:12 +0100)
debian/changelog
ud-mailgate

index 796be34..b8a751e 100644 (file)
@@ -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 <weasel@debian.org>  Sun, 31 Jan 2010 10:11:48 +0100
+
 userdir-ldap (0.3.76) unstable; urgency=low
 
   [ Peter Palfrader ]
index 65955f6..8f9e092 100755 (executable)
@@ -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.