Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5eb0f2c

Browse files
committed
unified name of utils module, recently it was named util and utils in different packages
1 parent 86fa577 commit 5eb0f2c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

lib/git/objects/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
import base
1010
import commit
11-
from util import get_object_type_by_name
11+
from utils import get_object_type_by_name
1212

1313
class TagObject(base.Object):
1414
"""
File renamed without changes.

lib/git/refs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Module containing all ref based objects
88
"""
99
from objects.base import Object
10-
from objects.util import get_object_type_by_name
10+
from objects.utils import get_object_type_by_name
1111
from utils import LazyMixin
1212

1313
class Ref(LazyMixin):

test/git/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import git.objects.base as base
1111
import git.refs as refs
1212
from itertools import chain
13-
from git.objects.util import get_object_type_by_name
13+
from git.objects.utils import get_object_type_by_name
1414

1515
class TestBase(object):
1616

0 commit comments

Comments
 (0)