diff options
author | Kai Kang <kai.kang@windriver.com> | 2023-03-15 21:55:36 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-03-16 06:29:35 -1000 |
commit | 48633d8920210e55e0b9ee3004f0502f9f0eec48 (patch) | |
tree | fe5ef65440e2871b4142ed582cfe01f8ae7016ba | |
parent | 37defd828cc6a8267139928730d766167905d21a (diff) | |
download | openembedded-core-contrib-48633d8920210e55e0b9ee3004f0502f9f0eec48.tar.gz |
python3-git: fix indent error
It fails to import anything from git/remote.py:
File "/path_to/python3-git-native/3.1.27-r0/GitPython-3.1.27/git/remote.py", line 700
url = Git.polish_url(url)
^
IndentationError: unexpected indent
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-devtools/python/python3-git/0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-git/0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch b/meta/recipes-devtools/python/python3-git/0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch index e3e66ec450..a017369f37 100644 --- a/meta/recipes-devtools/python/python3-git/0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch +++ b/meta/recipes-devtools/python/python3-git/0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch @@ -291,7 +291,7 @@ index 59681bc..cea6b99 100644 scmd = 'add' kwargs['insert_kwargs_after'] = scmd - repo.git.remote(scmd, name, Git.polish_url(url), **kwargs) -+ url = Git.polish_url(url) ++ url = Git.polish_url(url) + if not allow_unsafe_protocols: + Git.check_unsafe_protocols(url) + repo.git.remote(scmd, "--", name, url, **kwargs) |