Mercurial > p > roundup > code
comparison roundup/cgi/actions.py @ 3847:1a44e4bb2b54
Fix missing return value.
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Thu, 19 Apr 2007 12:18:50 +0000 |
| parents | f86d9531c8db |
| children | 326269886c32 |
comparison
equal
deleted
inserted
replaced
| 3846:7e445a063979 | 3847:1a44e4bb2b54 |
|---|---|
| 1 #$Id: actions.py,v 1.64 2007-01-11 07:34:02 schlatterbeck Exp $ | 1 #$Id: actions.py,v 1.65 2007-04-19 12:18:50 stefan 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 _ |
| 770 # pull the rego information out of the otk database | 770 # pull the rego information out of the otk database |
| 771 self.userid = self.db.confirm_registration(self.form['otk'].value) | 771 self.userid = self.db.confirm_registration(self.form['otk'].value) |
| 772 except (ValueError, KeyError), message: | 772 except (ValueError, KeyError), message: |
| 773 self.client.error_message.append(str(message)) | 773 self.client.error_message.append(str(message)) |
| 774 return | 774 return |
| 775 self.finishRego() | 775 return self.finishRego() |
| 776 | 776 |
| 777 class RegisterAction(RegoCommon, EditCommon): | 777 class RegisterAction(RegoCommon, EditCommon): |
| 778 name = 'register' | 778 name = 'register' |
| 779 permissionType = 'Create' | 779 permissionType = 'Create' |
| 780 | 780 |
