diff options
author | morpheus65535 <[email protected]> | 2023-10-14 09:56:21 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-14 09:56:21 -0400 |
commit | c89da3e6192a519ccefa6bb7d9f9c9eaa280d373 (patch) | |
tree | 6343200ac81b8c7e8eb089ebfb828768f4d94c4f /libs/dynaconf/vendor/toml/ordered.py | |
parent | d6579417ba3b3555bff3af446bef8a56e2d7a7c6 (diff) | |
download | bazarr-1.3.2-beta.0.tar.gz bazarr-1.3.2-beta.0.zip |
Changing from config.ini to config.yamlv1.3.2-beta.0
Diffstat (limited to 'libs/dynaconf/vendor/toml/ordered.py')
-rw-r--r-- | libs/dynaconf/vendor/toml/ordered.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/dynaconf/vendor/toml/ordered.py b/libs/dynaconf/vendor/toml/ordered.py new file mode 100644 index 000000000..6b8d9c19c --- /dev/null +++ b/libs/dynaconf/vendor/toml/ordered.py @@ -0,0 +1,15 @@ +from collections import OrderedDict +from . import TomlEncoder +from . import TomlDecoder + + +class TomlOrderedDecoder(TomlDecoder): + + def __init__(self): + super(self.__class__, self).__init__(_dict=OrderedDict) + + +class TomlOrderedEncoder(TomlEncoder): + + def __init__(self): + super(self.__class__, self).__init__(_dict=OrderedDict) |