Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-48-aria-cli d2953788e -> 5c52065d9
fixed pylint issues Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/5c52065d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/5c52065d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/5c52065d Branch: refs/heads/ARIA-48-aria-cli Commit: 5c52065d941d4757ca935be9557952e9021e1983 Parents: d295378 Author: Ran Ziv <[email protected]> Authored: Sat Apr 15 16:17:38 2017 +0300 Committer: Ran Ziv <[email protected]> Committed: Sat Apr 15 16:17:38 2017 +0300 ---------------------------------------------------------------------- aria/cli/cli/aria.py | 5 +++-- aria/cli/service_template_utils.py | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/5c52065d/aria/cli/cli/aria.py ---------------------------------------------------------------------- diff --git a/aria/cli/cli/aria.py b/aria/cli/cli/aria.py index 002846b..da72833 100644 --- a/aria/cli/cli/aria.py +++ b/aria/cli/cli/aria.py @@ -242,8 +242,9 @@ class AliasedGroup(click.Group): self.max_suggestions, self.cutoff) if matches: - error_msg += '{1}{1}Did you mean one of these?{1} {0}'.format( - '{1} '.join(matches, os.linesep)) + error_msg += '{0}{0}Did you mean one of these?{0} {1}'.format( + os.linesep, + '{0} '.format(os.linesep).join(matches, )) raise click.exceptions.UsageError(error_msg, error.ctx) http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/5c52065d/aria/cli/service_template_utils.py ---------------------------------------------------------------------- diff --git a/aria/cli/service_template_utils.py b/aria/cli/service_template_utils.py index 3a0488b..0300449 100644 --- a/aria/cli/service_template_utils.py +++ b/aria/cli/service_template_utils.py @@ -115,7 +115,8 @@ def _map_to_github_url(source): return url -# def generate_id(service_template_path, service_template_filename=DEFAULT_SERVICE_TEMPLATE_FILENAME): +# def generate_id(service_template_path, +# service_template_filename=DEFAULT_SERVICE_TEMPLATE_FILENAME): # """The name of the service template will be the name of the folder. # If service_template_filename is provided, it will be appended to the folder. # """
