|
@@ -3,6 +3,15 @@ from datetime import date,timedelta
|
|
|
import sys, argparse
|
|
|
from argparse import RawTextHelpFormatter
|
|
|
|
|
|
+# text appended to the end of generated emails
|
|
|
+email_body = """
|
|
|
+Full speaker schedule:
|
|
|
+https://cs.uwaterloo.ca/twiki/view/CrySP/SpeakerSchedule
|
|
|
+
|
|
|
+Other upcoming events:
|
|
|
+https://cs.uwaterloo.ca/twiki/view/CrySP/UpcomingEvents
|
|
|
+"""
|
|
|
+
|
|
|
def str_to_date(string_date):
|
|
|
return date(*[int(s) for s in string_date.split('-')])
|
|
|
|
|
@@ -160,7 +169,7 @@ class CryspCalendar:
|
|
|
else:
|
|
|
emailstr += note
|
|
|
emailstr += '\n'
|
|
|
- emailstr += '\nhttps://cs.uwaterloo.ca/twiki/view/CrySP/SpeakerSchedule\n'
|
|
|
+ emailstr += email_body
|
|
|
return emailstr
|
|
|
|
|
|
def parse_constraintsfile(filename):
|