equal
deleted
inserted
replaced
2470 # leave the query string escaped |
2470 # leave the query string escaped |
2471 for a in ('user', 'passwd', 'host', 'port', |
2471 for a in ('user', 'passwd', 'host', 'port', |
2472 'path', 'fragment'): |
2472 'path', 'fragment'): |
2473 v = getattr(self, a) |
2473 v = getattr(self, a) |
2474 if v is not None: |
2474 if v is not None: |
2475 setattr(self, a, pycompat.urlparse.unquote(v)) |
2475 setattr(self, a, pycompat.urlunquote(v)) |
2476 |
2476 |
2477 def __repr__(self): |
2477 def __repr__(self): |
2478 attrs = [] |
2478 attrs = [] |
2479 for a in ('scheme', 'user', 'passwd', 'host', 'port', 'path', |
2479 for a in ('scheme', 'user', 'passwd', 'host', 'port', 'path', |
2480 'query', 'fragment'): |
2480 'query', 'fragment'): |