Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fced2e

Browse files
Harmon758Byron
authored andcommitted
Remove unnecessary check for logging.NullHandler for Python 2.6
1 parent52f9369 commit2fced2e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎git/util.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,3 @@ def iter_items(cls, repo, *args, **kwargs):
933933
classNullHandler(logging.Handler):
934934
defemit(self,record):
935935
pass
936-
937-
938-
# In Python 2.6, there is no NullHandler yet. Let's monkey-patch it for a workaround.
939-
ifnothasattr(logging,'NullHandler'):
940-
logging.NullHandler=NullHandler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp