mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Fix exceptions, and remove the timeout (Python 2.5 compatability)
This commit is contained in:
@@ -6,7 +6,7 @@ class DocumentRetrievalError(Exception):
|
||||
self.value = value
|
||||
|
||||
def __str__(self):
|
||||
return self.__doc__ % value
|
||||
return self.__doc__ % self.value
|
||||
|
||||
class InvalidDocument(Exception):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user