diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-08-29 09:21:49 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-08-29 09:21:49 +0100 |
commit | 8eb7daad3a458f09840ed02432ca356dee5ab924 (patch) | |
tree | 3a4ea17ac4ebb7a36521df9e0d97db4c14ecd950 | |
parent | 680a3e8d44623a4571c85d78e42d3c55f758f6fd (diff) | |
download | poezio-8eb7daad3a458f09840ed02432ca356dee5ab924.tar.gz poezio-8eb7daad3a458f09840ed02432ca356dee5ab924.tar.bz2 poezio-8eb7daad3a458f09840ed02432ca356dee5ab924.tar.xz poezio-8eb7daad3a458f09840ed02432ca356dee5ab924.zip |
Remove an except block targetting Python 3.1.
-rw-r--r-- | poezio/config.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/poezio/config.py b/poezio/config.py index 91e82268..15380b8b 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -159,10 +159,7 @@ class Config(RawConfigParser): self.default = default def read_file(self): - try: - RawConfigParser.read(self, self.file_name, encoding='utf-8') - except TypeError: # python < 3.2 sucks - RawConfigParser.read(self, self.file_name) + RawConfigParser.read(self, self.file_name, encoding='utf-8') # Check config integrity and fix it if it’s wrong # only when the object is the main config if self.__class__ is Config: |