IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Преглед на файлове

Fix for passing focker-compose.yml without any leading path components.

master
Stanislaw Adaszewski преди 4 години
родител
ревизия
a72fcab5dc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      focker/compose.py

+ 1
- 1
focker/compose.py Целия файл

@@ -168,7 +168,7 @@ def stop_jails(spec):
def command_compose_build(args):
if not os.path.exists(args.filename):
raise ValueError('File not found: ' + args.filename)
path, _ = os.path.split(args.filename)
path, _ = os.path.split(os.path.abspath(args.filename))
print('path:', path)
with open(args.filename, 'r') as f:
spec = yaml.safe_load(f)


Loading…
Отказ
Запис