6890:26c1042f2eec | 6891:93f82da09f22 |
---|---|
129 @type bool | 129 @type bool |
130 @return flag indicating successful locking | 130 @return flag indicating successful locking |
131 @rtype bool | 131 @rtype bool |
132 """ | 132 """ |
133 if blocking: | 133 if blocking: |
134 self.clientLock.acquire() | 134 return self.clientLock.acquire() |
135 else: | 135 else: |
136 return self.clientLock.acquire(blocking) | 136 return self.clientLock.acquire(blocking) |
137 | 137 |
138 def unlockClient(self): | 138 def unlockClient(self): |
139 """ | 139 """ |