Went on a PEP-8 rampage
This commit is contained in:
parent
f99ad30fb6
commit
0948c9308a
36 changed files with 186 additions and 218 deletions
|
|
@ -1,8 +1,10 @@
|
|||
from threading import ThreadError
|
||||
|
||||
|
||||
class TaskDeniedException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class LockError(ThreadError):
|
||||
ERROR_CODES = {
|
||||
'ACQUIRE_ERROR': "Unable to acquire. Lock in use by another thread.",
|
||||
|
|
@ -22,4 +24,4 @@ class LockError(ThreadError):
|
|||
ThreadError.__init__(self)
|
||||
|
||||
def __str__(self):
|
||||
return self.string
|
||||
return self.string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue