[sysadmin-bin] add header for URL of news+changelog



commit 28a5acde0d1ceb866ee972530c686621494e4d7f
Author: Olav Vitters <olav vitters nl>
Date:   Tue Apr 15 15:48:53 2014 +0200

    add header for URL of news+changelog

 ftpadmin |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ftpadmin b/ftpadmin
index 1b98a1e..05b7343 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -1078,6 +1078,7 @@ Install %s? [Y/n]""" % self.module,
                 else:
                     self._print_header(mail, formatname)
                     mail.write("%s/%s  (%s)" % (self.URLROOT, path, size))
+                headers['X-Module-URL-%s' % format] = "%s/%s" % (self.URLROOT, path)
                 print >>mail, ""
                 # Only show the contents of the first found file, URLs for the rest
                 show_contents = False


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]