comparison roundup/cgi/actions.py @ 2990:3e55ba70f0b7 maint-0.7

fix typo (patch [SF#1076629])
author Richard Jones <richard@users.sourceforge.net>
date Tue, 07 Dec 2004 23:31:00 +0000
parents ace85b609a89
children fa49f3fe6afa
comparison
equal deleted inserted replaced
2989:1836d2361553 2990:3e55ba70f0b7
1 #$Id: actions.py,v 1.27.2.6 2004-11-05 05:14:35 richard Exp $ 1 #$Id: actions.py,v 1.27.2.7 2004-12-07 23:31:00 richard Exp $
2 2
3 import re, cgi, StringIO, urllib, Cookie, time, random 3 import re, cgi, StringIO, urllib, Cookie, time, random
4 4
5 from roundup import hyperdb, token, date, password, rcsv, exceptions 5 from roundup import hyperdb, token, date, password, rcsv, exceptions
6 from roundup.i18n import _ 6 from roundup.i18n import _
799 # make sure the user exists 799 # make sure the user exists
800 try: 800 try:
801 self.client.userid = self.db.user.lookup(self.client.user) 801 self.client.userid = self.db.user.lookup(self.client.user)
802 except KeyError: 802 except KeyError:
803 name = self.client.user 803 name = self.client.user
804 self.client.error_message.append(_('Ivalid login')) 804 self.client.error_message.append(_('Invalid login'))
805 self.client.make_user_anonymous() 805 self.client.make_user_anonymous()
806 return 806 return
807 807
808 # verify the password 808 # verify the password
809 if not self.verifyPassword(self.client.userid, password): 809 if not self.verifyPassword(self.client.userid, password):

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