summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/util.py')
-rw-r--r--git/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py
index 6e3ddfab..1dbbd35d 100644
--- a/git/util.py
+++ b/git/util.py
@@ -3,8 +3,6 @@
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-from __future__ import unicode_literals
-
import contextlib
from functools import wraps
import getpass
@@ -947,6 +945,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