ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dankilman <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #20: ARIA-9-API-for-operation-context
Date Tue, 15 Nov 2016 15:02:02 GMT
Github user dankilman commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/20#discussion_r88033563
  
    --- Diff: aria/context/common.py ---
    @@ -125,24 +128,21 @@ def download_resource(self, destination, path=None):
             """
             Download a blueprint resource from the resource storage
             """
    -        return_value = self.resource.deployment.download(
    -            entry_id=self.blueprint.id,
    -            destination=destination,
    -            path=path)
    -        if not path.isdir(destination) or len(os.listdir(destination)) > 0:
    -            return self.resource.blueprint.download(entry_id=self._deployment_id,
    +        try:
    --- End diff --
    
    add tests


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message