Show More
@@ -118,7 +118,7 b' class lock(object):' | |||||
118 | return |
|
118 | return | |
119 | if lock._host is None: |
|
119 | if lock._host is None: | |
120 | lock._host = _getlockprefix() |
|
120 | lock._host = _getlockprefix() | |
121 |
lockname = '%s:% |
|
121 | lockname = '%s:%d' % (lock._host, self.pid) | |
122 | retry = 5 |
|
122 | retry = 5 | |
123 | while not self.held and retry: |
|
123 | while not self.held and retry: | |
124 | retry -= 1 |
|
124 | retry -= 1 |
General Comments 0
You need to be logged in to leave comments.
Login now