Fixup bare try/except.
This commit is contained in:
parent
d0d592fd32
commit
68dcd34c0a
|
@ -140,7 +140,7 @@ class Shelf(UserDict.DictMixin):
|
|||
self.sync()
|
||||
try:
|
||||
self.dict.close()
|
||||
except:
|
||||
except AttributeError:
|
||||
pass
|
||||
self.dict = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue