All pastes #244456 Raw Edit

Someone

public text v1 · immutable
#244456 ·published 2006-11-09 20:54 UTC
rendered paste body
import catbox_int

class CatboxRet(object):
    def __init__(self):
        self.ownerships = {}

def run(func, paths=[], logger=None):
    '''returns a CatboxRet object after running the specified callable'''
    retObject = CatboxRet()
    print catbox_int.run(func, retObject = retObject, writable_paths=paths, logger=logger)
    return retObject