def _is_guildfile_dir(path): return os.path.abspath(path) == os.path.abspath( config.cwd()) or guildfile.is_guildfile_dir(path)
def models_iter_dirs(args): cwd = config.cwd() if not args.installed and guildfile.is_guildfile_dir(cwd): return [cwd] return []