Skip to content

Commit 8190c15

Browse files
committed
remove bad assertions when on windows
1 parent 49c1296 commit 8190c15

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

podman_compose.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2832,9 +2832,6 @@ def is_context_git_url(path: str) -> bool:
28322832
r = urllib.parse.urlparse(path)
28332833
if r.scheme in ('git', 'http', 'https', 'ssh', 'file', 'rsync'):
28342834
return True
2835-
# URL contains a ":" character, a hint of a valid URL
2836-
if r.scheme != "" and r.netloc == "" and r.path != "":
2837-
return True
28382835
if r.scheme == "": # tweak path URL to get username from url parser
28392836
r = urllib.parse.urlparse("ssh://" + path)
28402837
if r.username is not None and r.username != "":

0 commit comments

Comments
 (0)