mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Fixup bare try/except.
This commit is contained in:
parent
d0d592fd32
commit
68dcd34c0a
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Shelf(UserDict.DictMixin):
|
|||
self.sync()
|
||||
try:
|
||||
self.dict.close()
|
||||
except:
|
||||
except AttributeError:
|
||||
pass
|
||||
self.dict = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue