def inc_xattr(path, key, n=1):
    count = int(get_xattr(path, key))
    count += n
    set_xattr(path, key, str(count))
Returns a callable that will encode C{data} to C{self.stream}. If
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/image_cache/drivers/xattr.py/inc_xattr--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/codec.py/Encoder.getTypeFunc