##// END OF EJS Templates
lock: use %d to format integer into a bytestring
Augie Fackler -
r31354:e6a2b625 default
parent child Browse files
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:%s' % (lock._host, self.pid)
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