Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d9512e9a
Commit
d9512e9a
authored
Mar 08, 2011
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Plain Diff
Issue #11444: Merge fix from 3.1.
parents
3d995843
c8ab6eeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Lib/logging/__init__.py
Lib/logging/__init__.py
+3
-0
No files found.
Lib/logging/__init__.py
View file @
d9512e9a
...
...
@@ -1793,6 +1793,7 @@ def shutdown(handlerList=_handlerList):
h
=
wr
()
if
h
:
try
:
h
.
acquire
()
h
.
flush
()
h
.
close
()
except
(
IOError
,
ValueError
):
...
...
@@ -1801,6 +1802,8 @@ def shutdown(handlerList=_handlerList):
# references to them are still around at
# application exit.
pass
finally
:
h
.
release
()
except
:
if
raiseExceptions
:
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment