##// END OF EJS Templates
caches: fixed unicode mismatch with types
super-admin -
r4812:8b0fdb99 default
parent child Browse files
Show More
@@ -300,7 +300,7 b' class BaseRedisBackend(redis_backend.Red'
300
300
301 def get_mutex(self, key):
301 def get_mutex(self, key):
302 if self.distributed_lock:
302 if self.distributed_lock:
303 lock_key = redis_backend.u(u'_lock_{0}'.format(safe_unicode(key)))
303 lock_key = u'_lock_{0}'.format(safe_unicode(key))
304 return get_mutex_lock(self.client, lock_key, self._lock_timeout,
304 return get_mutex_lock(self.client, lock_key, self._lock_timeout,
305 auto_renewal=self._lock_auto_renewal)
305 auto_renewal=self._lock_auto_renewal)
306 else:
306 else:
General Comments 0
You need to be logged in to leave comments. Login now