Browse Source

turned the Authentication Exceptions to classes

Roland Haroutiounian 8 years ago
parent
commit
e14416470e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lodel/auth/exceptions.py

+ 2
- 2
lodel/auth/exceptions.py View File

@@ -1,9 +1,9 @@
1 1
 from lodel import logger
2 2
 
3
-def AuthenticationError(Exception):
3
+class AuthenticationError(Exception):
4 4
     pass
5 5
 
6
-def AuthenticationFailure(Exception):
6
+class AuthenticationFailure(Exception):
7 7
     
8 8
     def __init__(self, client):
9 9
         msg = "%s : authentication failure" % client

Loading…
Cancel
Save