tested the improved protoxep announce script

This commit is contained in:
Matthew A. Miller 2014-02-26 11:15:02 -07:00
parent 7019ee441b
commit 6b4bafe90c
1 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@ def getText(nodelist):
# READ in XEP filename (sans extension)
xepname = sys.argv[1];
if len(sys.argv) < 3:
if len(sys.argv) >= 3:
approver = sys.argv[2]
else:
approver = "XMPP Council"
@ -114,7 +114,7 @@ fromaddr = "editor@xmpp.org"
# for testing...
# toaddrs = "editor@jabber.org"
# for real...
toaddrs = "editor@xmpp.org"
toaddrs = "standards@xmpp.org"
thesubject = 'Proposed XMPP Extension: ' + title
introline = 'The XMPP Extensions Editor has received a proposal for a new XEP.'
@ -143,4 +143,3 @@ server.sendmail(fromaddr, toaddrs, msg)
server.quit()
# END