Skip to content

Commit 059cc8d

Browse files
author
Alexander Smishlajev
committed
added LoginError; fix vim modeline
1 parent def961a commit 059cc8d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roundup/cgi/exceptions.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: exceptions.py,v 1.5 2004-05-11 13:03:07 a1s Exp $
1+
#$Id: exceptions.py,v 1.6 2004-11-18 14:10:27 a1s Exp $
22
'''Exceptions for use in Roundup's web interface.
33
'''
44

@@ -9,6 +9,9 @@
99
class HTTPException(Exception):
1010
pass
1111

12+
class LoginError(HTTPException):
13+
pass
14+
1215
class Unauthorised(HTTPException):
1316
pass
1417

@@ -56,4 +59,4 @@ def __str__(self):
5659
</body></html>
5760
'''%cgi.escape(self.args[0])
5861

59-
# vim: set filetype=python ts=4 sw=4 et si
62+
# vim: set filetype=python sts=4 sw=4 et si :

0 commit comments

Comments
 (0)