MCPcopy Create free account
hub / github.com/aws/aws-cli / _cleanup_alias_values

Method _cleanup_alias_values

awscli/alias.py:76–81  ·  view source on GitHub ↗
(self, all_aliases)

Source from the content-addressed store, hash-verified

74 parsed[new_key] = value
75
76 def _cleanup_alias_values(self, all_aliases):
77 for section_aliases in all_aliases.values():
78 for alias in section_aliases:
79 # Beginning and end line separators should not be included
80 # in the internal representation of the alias value.
81 section_aliases[alias] = section_aliases[alias].strip()
82
83 def get_aliases(self, command=None):
84 # To preserve existing behavior, get_alises() with no args

Callers 1

_build_aliasesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected