From 6bb8ba35b41c3d583238460a48c0b4b5fca51334 Mon Sep 17 00:00:00 2001 From: stpeter Date: Wed, 2 Mar 2011 19:28:14 -0700 Subject: [PATCH] re-instating the diffs --- announce.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/announce.py b/announce.py index 4f3e020c..6dc2affa 100755 --- a/announce.py +++ b/announce.py @@ -6,7 +6,7 @@ # Last Modified: 2006-10-03 # Author: Peter Saint-Andre (stpeter@jabber.org) # License: public domain -# HowTo: ./announce.py xepnum +# HowTo: ./announce.py xepnum diffs ## LICENSE ## # @@ -57,10 +57,10 @@ now = int(time.time()) # READ IN ARGS: # # 1. XEP number -# 2. URL for source control diffs ### no longer in use +# 2. URL for source control diffs xepnum = sys.argv[1]; -#diffs = sys.argv[2]; ### no longer in use +diffs = sys.argv[2]; xepfile = 'xep-' + xepnum + '.xml' @@ -158,7 +158,7 @@ thesubject = thesubject + xepnum + ' (' + title + ')' versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has been released.' abstractline = 'Abstract: ' + abstract changelogline = 'Changelog: ' + remark + ' (' + initials + ')' -# diffsline = 'Diff: ' + diffs ### no longer in use +diffsline = 'Diff: ' + diffs urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html' msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr @@ -170,7 +170,7 @@ msg = msg + abstractline msg = msg + "\r\n\n" msg = msg + changelogline msg = msg + "\r\n\n" -#msg = msg + diffsline +msg = msg + diffsline #msg = msg + "\r\n\n" msg = msg + urlline msg = msg + "\r\n\n"