Commit 2b70da63 authored by Raymond Hettinger's avatar Raymond Hettinger

Fixup bare try/except.

parent ba20f1c5
...@@ -140,7 +140,7 @@ class Shelf(UserDict.DictMixin): ...@@ -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
......
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