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