Пример #1
0
 def _is_guildfile_dir(path):
     return os.path.abspath(path) == os.path.abspath(
         config.cwd()) or guildfile.is_guildfile_dir(path)
Пример #2
0
def models_iter_dirs(args):
    cwd = config.cwd()
    if not args.installed and guildfile.is_guildfile_dir(cwd):
        return [cwd]
    return []