aws-config-gen: Saved a line
This commit is contained in:
parent
fd2fab4bb7
commit
026edc372f
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ def print_config(profiles, print_default=False):
|
|||
config = ConfigParser()
|
||||
if print_default:
|
||||
config.add_section('default')
|
||||
for section, properties in profiles:
|
||||
config[section] = properties
|
||||
config.read_dict(dict(profiles))
|
||||
config.write(sys.stdout)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue