Exemplo n.º 1
0
 def fetcher(id_, target):
     return requests_fetcher(repository_url, id_, target, work_dir)
Exemplo n.º 2
0
 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())
Exemplo n.º 3
0
Arquivo: cli.py Projeto: 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())
Exemplo n.º 4
0
Arquivo: cli.py Projeto: cirix/dcos
 def fetcher(id, target):
     return requests_fetcher(arguments['--repository-url'], id, target, os.getcwd())
Exemplo n.º 5
0
 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())
Exemplo n.º 6
0
 def fetcher(id, target):
     return requests_fetcher(arguments['--repository-url'], id, target,
                             os.getcwd())