Mercurial > hgrepos > Python > libs > ConfigMix
changeset 14:36fa039f7e11
Formatting
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Wed, 09 Mar 2016 12:06:46 +0100 |
| parents | 24ba462b9b4b |
| children | 0b1292e920af |
| files | configmix/ini.py |
| diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/ini.py Wed Mar 09 11:43:18 2016 +0100 +++ b/configmix/ini.py Wed Mar 09 12:06:46 2016 +0100 @@ -40,9 +40,7 @@ if encoding is None: encoding = locale.getpreferredencoding() self.encoding = encoding - with io.open(filename, - mode="rt", - encoding=self.encoding) as cf: + with io.open(filename, mode="rt", encoding=self.encoding) as cf: self.readfp(cf, filename) def optionxform(self, option):
