Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 464362 Details for
Bug 610016
app-portage/mirrorselect python3 incompatibility - TypeError: sequence item 1: expected str instance, bytes found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
map hosts to str
mirrorselect.fix.patch (text/plain), 780 bytes, created by
zakalwe
on 2017-02-19 19:03:26 UTC
(
hide
)
Description:
map hosts to str
Filename:
MIME Type:
Creator:
zakalwe
Created:
2017-02-19 19:03:26 UTC
Size:
780 bytes
patch
obsolete
>--- mirrorselect/main.py 2017-02-19 18:54:02.000000000 +0000 >+++ mirrorselect/main.py 2017-02-19 18:53:22.303830709 +0000 >@@ -112,14 +112,14 @@ > hosts = [x.decode('utf-8') for x in hosts] > > if var == "sync-uri" and out: >- mirror_string = '%s = %s' % (var, ' '.join(hosts)) >+ mirror_string = '%s = %s' % (var, ' '.join(map(str, hosts))) > else: >- mirror_string = '%s="%s"' % (var, ' '.join(hosts)) >+ mirror_string = '%s="%s"' % (var, ' '.join(map(str, hosts))) > > if out: > self.write_to_output(mirror_string) > elif var == "sync-uri": >- write_repos_conf(self.output, config_path, var, ' '.join(hosts)) >+ write_repos_conf(self.output, config_path, var, ' '.join(map(str, hosts))) > else: > write_make_conf(self.output, config_path, var, mirror_string) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 610016
:
464362
|
464458