Ubuntu Pastebin

Paste from cjwatson at Mon, 24 Apr 2017 16:29:04 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
=== modified file 'src/launchpadlib/credentials.py'
--- src/launchpadlib/credentials.py	2016-08-15 10:32:44 +0000
+++ src/launchpadlib/credentials.py	2017-04-24 16:28:46 +0000
@@ -380,7 +380,7 @@ class KeyringCredentialStore(CredentialS
         # this problem by base 64 encoding the serialized value.
         serialized = self.B64MARKER + b64encode(serialized)
         keyring.set_password(
-            'launchpadlib', unique_key, serialized)
+            'launchpadlib', unique_key, serialized.decode('utf8'))
 
     def do_load(self, unique_key):
         """Retrieve credentials from the keyring."""
Download as text