diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-12-08 12:54:34 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-12-08 12:54:34 +0100 |
commit | b06b13e61e8db81afdd666ac68f4a489cec87d5a (patch) | |
tree | 05754ea627d77922c4ffcd3141bf5dc567dfcd3e /git/util.py | |
parent | b93ba7ca6913ce7f29e118fd573f6ed95808912b (diff) | |
download | gitpython-b06b13e61e8db81afdd666ac68f4a489cec87d5a.tar.gz |
chore(lint): flake8
Interestingly only shows in particular python versions
on travis.
Maybe some caching effect?
Locally it is reproducible easily, with the latest flake8
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git/util.py b/git/util.py index 1e0d3eb4..ef7e2b7c 100644 --- a/git/util.py +++ b/git/util.py @@ -940,6 +940,7 @@ class NullHandler(logging.Handler): def emit(self, record): pass + # In Python 2.6, there is no NullHandler yet. Let's monkey-patch it for a workaround. if not hasattr(logging, 'NullHandler'): logging.NullHandler = NullHandler |