Reformat offlineimap/ui/debuglock.py
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
1b385dfafb
commit
9aa2344fd4
@ -17,9 +17,11 @@
|
||||
|
||||
from threading import Lock, currentThread
|
||||
import traceback
|
||||
|
||||
logfile = open("/tmp/logfile", "wt")
|
||||
loglock = Lock()
|
||||
|
||||
|
||||
class DebuggingLock:
|
||||
def __init__(self, name):
|
||||
self.lock = Lock()
|
||||
@ -45,5 +47,3 @@ class DebuggingLock:
|
||||
self.logmsg(".... %s: Thread %s attempting to %s\n" % \
|
||||
(self.name, currentThread().getName(), msg) + \
|
||||
"\n".join(traceback.format_list(traceback.extract_stack())))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user