Beispiel #1
0
 def decr(self, *key):
     mk = self.mc_key % '_'.join(map(str, key))
     if mc.get(mk) is not None:
         mc.decr(mk)
Beispiel #2
0
 def decr(self, *args):
     key = self.key_pattern % args
     return mc.decr(key)
Beispiel #3
0
 def decr(self, *args):
     key = self.key_pattern % args
     return mc.decr(key)
Beispiel #4
0
 def decr(self, *key):
     mk = self.mc_key % '_'.join(map(str, key))
     if mc.get(mk) is not None:
         mc.decr(mk)