##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51508:9e69d9d6 default
parent child Browse files
Show More
@@ -233,7 +233,7 b' class url:'
233 self.path = path
233 self.path = path
234
234
235 # leave the query string escaped
235 # leave the query string escaped
236 for a in (b'user', b'passwd', b'host', b'port', b'path', b'fragment'):
236 for a in ('user', 'passwd', 'host', 'port', 'path', 'fragment'):
237 v = getattr(self, a)
237 v = getattr(self, a)
238 if v is not None:
238 if v is not None:
239 setattr(self, a, urlreq.unquote(v))
239 setattr(self, a, urlreq.unquote(v))
General Comments 0
You need to be logged in to leave comments. Login now