comparison roundup/cgi/actions.py @ 3604:ccf516e6c3f8

responses to user rego email [SF#1470254]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 27 Apr 2006 03:44:47 +0000
parents d10008f756a4
children 53987aa153d2
comparison
equal deleted inserted replaced
3603:f7399e2aa610 3604:ccf516e6c3f8
1 #$Id: actions.py,v 1.59 2006-03-02 23:51:08 richard Exp $ 1 #$Id: actions.py,v 1.60 2006-04-27 03:44:47 richard Exp $
2 2
3 import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs 3 import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs
4 4
5 from roundup import hyperdb, token, date, password 5 from roundup import hyperdb, token, date, password
6 from roundup.i18n import _ 6 from roundup.i18n import _
851 %(url)s?@action=confrego&otk=%(otk)s 851 %(url)s?@action=confrego&otk=%(otk)s
852 852
853 """ % {'name': user_props['username'], 'tracker': tracker_name, 853 """ % {'name': user_props['username'], 'tracker': tracker_name,
854 'url': self.base, 'otk': otk} 854 'url': self.base, 'otk': otk}
855 if not self.client.standard_message([user_props['address']], subject, 855 if not self.client.standard_message([user_props['address']], subject,
856 body): 856 body, (tracker_name, tracker_email)):
857 return 857 return
858 858
859 # commit changes to the database 859 # commit changes to the database
860 self.db.commit() 860 self.db.commit()
861 861

Roundup Issue Tracker: http://roundup-tracker.org/