Show More
@@ -2717,7 +2717,7 b' class url(object):' | |||||
2717 | 'query', 'fragment'): |
|
2717 | 'query', 'fragment'): | |
2718 | v = getattr(self, a) |
|
2718 | v = getattr(self, a) | |
2719 | if v is not None: |
|
2719 | if v is not None: | |
2720 | attrs.append('%s: %r' % (a, v)) |
|
2720 | attrs.append('%s: %r' % (a, pycompat.bytestr(v))) | |
2721 | return '<url %s>' % ', '.join(attrs) |
|
2721 | return '<url %s>' % ', '.join(attrs) | |
2722 |
|
2722 | |||
2723 | def __bytes__(self): |
|
2723 | def __bytes__(self): |
General Comments 0
You need to be logged in to leave comments.
Login now