Fixup bare try/except.

This commit is contained in:
Raymond Hettinger 2003-05-27 06:30:52 +00:00
parent d0d592fd32
commit 68dcd34c0a
1 changed files with 1 additions and 1 deletions

View File

@ -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