Show More
@@ -674,7 +674,9 b' def open(ui, url_, data=None, sendaccept' | |||
|
674 | 674 | url_, authinfo = u.authinfo() |
|
675 | 675 | else: |
|
676 | 676 | path = util.normpath(os.path.abspath(url_)) |
|
677 |
url_ = b'file://' + pycompat.bytesurl( |
|
|
677 | url_ = b'file://' + pycompat.bytesurl( | |
|
678 | urlreq.pathname2url(pycompat.fsdecode(path)) | |
|
679 | ) | |
|
678 | 680 | authinfo = None |
|
679 | 681 | return opener(ui, authinfo, sendaccept=sendaccept).open( |
|
680 | 682 | pycompat.strurl(url_), data |
General Comments 0
You need to be logged in to leave comments.
Login now