Show More
@@ -60,7 +60,7 b' class lock(object):' | |||
|
60 | 60 | def trylock(self): |
|
61 | 61 | if lock._host is None: |
|
62 | 62 | lock._host = socket.gethostname() |
|
63 |
lockname = lock._host |
|
|
63 | lockname = '%s:%s' % (lock._host, os.getpid()) | |
|
64 | 64 | while not self.held: |
|
65 | 65 | try: |
|
66 | 66 | util.makelock(lockname, self.f) |
General Comments 0
You need to be logged in to leave comments.
Login now