From 768b9fffa58e82d6aa1f799bd5caebede9c9231b Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Feb 2020 06:20:23 -0600 Subject: Remove and replace compat.string_types --- git/objects/submodule/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git/objects/submodule/base.py') diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 04ca0221..97973a57 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -9,7 +9,6 @@ import uuid import git from git.cmd import Git from git.compat import ( - string_types, defenc, is_win, ) @@ -110,7 +109,7 @@ class Submodule(IndexObject, Iterable, Traversable): if url is not None: self._url = url if branch_path is not None: - assert isinstance(branch_path, string_types) + assert isinstance(branch_path, str) self._branch_path = branch_path if name is not None: self._name = name -- cgit v1.2.1