Content-Length: 272651 | pFad | http://github.com/gitpython-developers/GitPython/commit/d283c83c43f5e52a1a14e55b35ffe85a780615d8
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffddedf commit d283c83Copy full SHA for d283c83
git/util.py
@@ -356,14 +356,14 @@ def remove_password_if_present(cmdline):
356
url = urlsplit(to_parse)
357
# Remove password from the URL if present
358
if url.password is None:
359
- raise ValueError()
+ continue
360
361
edited_url = url._replace(
362
netloc=url.netloc.replace(url.password, "*****"))
363
new_cmdline[index] = urlunsplit(edited_url)
364
except ValueError:
365
# This is not a valid URL
366
- pass
367
return new_cmdline
368
369
Fetched URL: http://github.com/gitpython-developers/GitPython/commit/d283c83c43f5e52a1a14e55b35ffe85a780615d8
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments