Skip to content

Commit

Permalink
rollback get_config_parser for backward compatibility (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
arrownj authored May 9, 2020
1 parent 43414cb commit fa4667b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions knack/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
_UNSET = object()


def get_config_parser():
return configparser.ConfigParser() # keep this for backward compatibility


class CLIConfig(object):
_BOOLEAN_STATES = {'1': True, 'yes': True, 'true': True, 'on': True,
'0': False, 'no': False, 'false': False, 'off': False}
Expand Down

0 comments on commit fa4667b

Please sign in to comment.