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