Kaydet (Commit) 68dcd34c authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Fixup bare try/except.

üst d0d592fd
......@@ -140,7 +140,7 @@ class Shelf(UserDict.DictMixin):
self.sync()
try:
self.dict.close()
except:
except AttributeError:
pass
self.dict = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment