Dulwich.io dulwich / 437fb6c
Cope with urlparse being imported as a function. Jelmer Vernooń≥ 14 days ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
18821882 try:
18831883 with open(fname, 'rb') as f:
18841884 for line in f:
1885 parsed_line = urlparse.urlparse(line)
1885 parsed_line = urlparse(line)
18861886 if (parsed_line.scheme == scheme and
18871887 parsed_line.hostname == hostname and
18881888 (username is None or