

def incr(self, key, delta=1):
    val = self.get(key)
    if (val is None):
        return None
    try:
        val = long(val)
    except ValueError:
        return None
    val = str((val + delta))
    self.set(val, val)
    return val

dataset/ETHPy150Open sassoftware/conary/conary/repository/netrepos/cache.py DumbCache.incr/VarMisuse@74/79 `key`->`val`