def __init__(self): cf = load_program_configuration() self.queuedir = load_cf_param(cf, 'queuedir', lambda f: os.path.isdir(f)) INotifyWatch.__init__(self, self.queuedir, IN_CREATE) (obj, func, filename, line) = callerinfo() self.plugin_manager = PluginManager(os.path.join(os.path.abspath(os.path.dirname(filename)), 'queue_plugins')) debug("initialized")
def __getitem__(self, name): (obj, func, filename, line) = callerinfo()