def wrapper(iom, *args): ret = method_fn(iom, *args) dircheck(ret) return ret
def get_prefs_fpath(iom, prefs_name): dircheck(iom.settings_dpath) return normpath(join(iom.settings_dpath, prefs_name + ".txt"))
def get_prefs_fpath(iom, prefs_name): dircheck(iom.settings_dpath) return normpath(join(iom.settings_dpath, prefs_name+'.txt'))