diff options
author | mathieui <mathieui@mathieui.net> | 2016-10-21 01:52:41 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-10-21 01:52:41 +0200 |
commit | 8549da0348d806dfa77305e36524135cefbc188c (patch) | |
tree | 87b76586f3e10d96c7a295f3e958b2329acec35a | |
parent | 64c272d2bfe95d679b24a9775da5cc768cc661da (diff) | |
download | poezio-8549da0348d806dfa77305e36524135cefbc188c.tar.gz poezio-8549da0348d806dfa77305e36524135cefbc188c.tar.bz2 poezio-8549da0348d806dfa77305e36524135cefbc188c.tar.xz poezio-8549da0348d806dfa77305e36524135cefbc188c.zip |
IOError == OSError since python 3.3
-rw-r--r-- | poezio/roster.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/poezio/roster.py b/poezio/roster.py index ac8012cb..89925e07 100644 --- a/poezio/roster.py +++ b/poezio/roster.py @@ -244,8 +244,6 @@ class Roster(object): f.writelines([str(i) + "\n" for i in self.contacts if self[i] and (self[i].subscription == "both" or self[i].ask)]) f.close() return True - except IOError: - return False except OSError: return False |