summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-12-08 12:54:34 +0100
committerSebastian Thiel <byronimo@gmail.com>2016-12-08 12:54:34 +0100
commitb06b13e61e8db81afdd666ac68f4a489cec87d5a (patch)
tree05754ea627d77922c4ffcd3141bf5dc567dfcd3e /git/util.py
parentb93ba7ca6913ce7f29e118fd573f6ed95808912b (diff)
downloadgitpython-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.py1
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