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

Method _delete_config_file

awscli/customizations/codedeploy/uninstall.py:60–67  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

58 sys.stdout.write('DONE\n')
59
60 def _delete_config_file(self, params):
61 sys.stdout.write('Deleting the on-premises instance configuration... ')
62 try:
63 os.remove(params.system.CONFIG_PATH)
64 except OSError as e:
65 if e.errno != errno.ENOENT:
66 raise e
67 sys.stdout.write('DONE\n')

Callers 1

_run_mainMethod · 0.95

Calls 2

writeMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected