1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 02:02:16 -05:00

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

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