##// END OF EJS Templates
sshpeer: fix path when handling invalid url exception...
Felipe Resende -
r52403:a2f1d97e stable
parent child Browse files
Show More
@@ -640,7 +640,7 b' def make_peer('
640 640 """
641 641 u = urlutil.url(path.loc, parsequery=False, parsefragment=False)
642 642 if u.scheme != b'ssh' or not u.host or u.path is None:
643 raise error.RepoError(_(b"couldn't parse location %s") % path)
643 raise error.RepoError(_(b"couldn't parse location %s") % path.loc)
644 644
645 645 urlutil.checksafessh(path.loc)
646 646
General Comments 0
You need to be logged in to leave comments. Login now