Пример #1
0
 def incr(self, *key):
     mk = self.mc_key % '_'.join(map(str, key))
     if mc.get(mk) is not None:
         mc.incr(mk)
Пример #2
0
Файл: mc.py Проект: pakt/sqlbean
 def incr(self, *args):
     key = self.key_pattern % args
     return mc.incr(key)
Пример #3
0
 def incr(self, *args):
     key = self.key_pattern % args
     return mc.incr(key)
Пример #4
0
 def incr(self, *key):
     mk = self.mc_key % '_'.join(map(str, key))
     if mc.get(mk) is not None:
         mc.incr(mk)