summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
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