Skip to content

Commit 600df04

Browse files
committed
Rmv old py2.7 __future__ imports
1 parent 017b0d4 commit 600df04

File tree

9 files changed

+0
-15
lines changed

9 files changed

+0
-15
lines changed

Diff for: git/index/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Initialize the index package"""
22
# flake8: noqa
3-
from __future__ import absolute_import
4-
53
from .base import *
64
from .typ import *

Diff for: git/objects/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Import all submodules main classes into the package space
33
"""
44
# flake8: noqa
5-
from __future__ import absolute_import
6-
75
import inspect
86

97
from .base import *

Diff for: git/refs/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# flake8: noqa
2-
from __future__ import absolute_import
32
# import all modules in order, fix the names they require
43
from .symbolic import *
54
from .reference import *

Diff for: git/repo/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
"""Initialize the Repo package"""
22
# flake8: noqa
3-
from __future__ import absolute_import
43
from .base import *

Diff for: test/lib/helper.py

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6-
from __future__ import print_function
7-
86
import contextlib
97
from functools import wraps
108
import gc

Diff for: test/performance/test_commit.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44
# This module is part of GitPython and is released under
55
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6-
from __future__ import print_function
76
from io import BytesIO
87
from time import time
98
import sys

Diff for: test/performance/test_odb.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Performance tests for object store"""
2-
from __future__ import print_function
3-
42
import sys
53
from time import time
64

Diff for: test/performance/test_streams.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""Performance data streaming performance"""
2-
from __future__ import print_function
3-
42
import os
53
import subprocess
64
import sys

Diff for: test/test_commit.py

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# This module is part of GitPython and is released under
66
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
7-
from __future__ import print_function
8-
97
from datetime import datetime
108
from io import BytesIO
119
import re

0 commit comments

Comments
 (0)