summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-03-18 12:06:10 +0200
committerHugo <hugovk@users.noreply.github.com>2018-03-18 22:26:04 +0200
commit929f3e1e1b664ed8cdef90a40c96804edfd08d59 (patch)
tree805c06bde21a6c4b3d9defe775527a3773bef3b9 /git/cmd.py
parent190c04569bd2a29597065222cdcc322ec4f2b374 (diff)
downloadgitpython-929f3e1e1b664ed8cdef90a40c96804edfd08d59.tar.gz
Drop support for EOL Python 2.6
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 13c01401..6b492f11 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -17,6 +17,7 @@ from subprocess import (
import subprocess
import sys
import threading
+from collections import OrderedDict
from textwrap import dedent
from git.compat import (
@@ -31,7 +32,6 @@ from git.compat import (
is_win,
)
from git.exc import CommandError
-from git.odict import OrderedDict
from git.util import is_cygwin_git, cygpath, expand_path
from .exc import (
@@ -143,8 +143,7 @@ CREATE_NO_WINDOW = 0x08000000
## CREATE_NEW_PROCESS_GROUP is needed to allow killing it afterwards,
# see https://docs.python.org/3/library/subprocess.html#subprocess.Popen.send_signal
PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP
- if is_win and sys.version_info >= (2, 7)
- else 0)
+ if is_win else 0)
class Git(LazyMixin):