コード例 #1
0
ファイル: actions.py プロジェクト: zhous1q/dcos
 def fetcher(id_, target):
     return requests_fetcher(repository_url, id_, target, work_dir)
コード例 #2
0
ファイル: actions.py プロジェクト: zhous1q/dcos
 def fetcher(id, target):
     if repository_url is None:
         raise ValidationError("ERROR: Non-local package {} but no repository url given.".format(id))
     return requests_fetcher(repository_url, id, target, os.getcwd())
コード例 #3
0
ファイル: cli.py プロジェクト: cirix/dcos
 def fetcher(id, target):
     if repository_url is None:
         print("ERROR: Non-local package {} but no repository url given.".format(repository_url))
         sys.exit(1)
     return requests_fetcher(repository_url, id, target, os.getcwd())
コード例 #4
0
ファイル: cli.py プロジェクト: cirix/dcos
 def fetcher(id, target):
     return requests_fetcher(arguments['--repository-url'], id, target, os.getcwd())
コード例 #5
0
ファイル: cli.py プロジェクト: yonglehou/dcos
 def fetcher(id, target):
     if repository_url is None:
         print("ERROR: Non-local package {} but no repository url given.".
               format(repository_url))
         sys.exit(1)
     return requests_fetcher(repository_url, id, target, os.getcwd())
コード例 #6
0
ファイル: cli.py プロジェクト: yonglehou/dcos
 def fetcher(id, target):
     return requests_fetcher(arguments['--repository-url'], id, target,
                             os.getcwd())