summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-03-08 11:38:48 +0000
committerColin Watson <cjwatson@debian.org>2018-03-08 11:38:48 +0000
commit01d63d9cb3280c719fc479ac4225d7685793c9ac (patch)
tree8635d466f580835cd06194318522f261dbe14963 /src
parent058685f882beb7f51e2471bba15f11593f40a5db (diff)
Import python-launchpadlib_1.10.6.orig.tar.gz
Diffstat (limited to 'src')
-rw-r--r--src/launchpadlib.egg-info/PKG-INFO8
-rw-r--r--src/launchpadlib.egg-info/requires.txt3
-rw-r--r--src/launchpadlib/NEWS.txt4
-rw-r--r--src/launchpadlib/__init__.py2
-rw-r--r--src/launchpadlib/credentials.py2
5 files changed, 14 insertions, 5 deletions
diff --git a/src/launchpadlib.egg-info/PKG-INFO b/src/launchpadlib.egg-info/PKG-INFO
index 1c3a91b..bd6fa77 100644
--- a/src/launchpadlib.egg-info/PKG-INFO
+++ b/src/launchpadlib.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: launchpadlib
-Version: 1.10.5
+Version: 1.10.6
Summary: Script Launchpad through its web services interfaces. Officially supported.
Home-page: https://help.launchpad.net/API/launchpadlib
Author: LAZR Developers
@@ -31,6 +31,10 @@ Description: ..
NEWS for launchpadlib
=====================
+ 1.10.6 (2018-03-08)
+ ===================
+ - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962]
+
1.10.5 (2017-02-02)
===================
- Fix AccessToken.from_string crash on Python 3. [bug=1471927]
@@ -333,3 +337,5 @@ Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 3
diff --git a/src/launchpadlib.egg-info/requires.txt b/src/launchpadlib.egg-info/requires.txt
index dd7b206..3271e9e 100644
--- a/src/launchpadlib.egg-info/requires.txt
+++ b/src/launchpadlib.egg-info/requires.txt
@@ -2,7 +2,6 @@ httplib2
keyring
lazr.restfulclient>=0.9.19
lazr.uri
-oauth
setuptools
testresources
-wadllib \ No newline at end of file
+wadllib
diff --git a/src/launchpadlib/NEWS.txt b/src/launchpadlib/NEWS.txt
index 2fb251c..ad83634 100644
--- a/src/launchpadlib/NEWS.txt
+++ b/src/launchpadlib/NEWS.txt
@@ -2,6 +2,10 @@
NEWS for launchpadlib
=====================
+1.10.6 (2018-03-08)
+===================
+- Fix saving of credentials in python3 with gnome-keyring. [bug=1685962]
+
1.10.5 (2017-02-02)
===================
- Fix AccessToken.from_string crash on Python 3. [bug=1471927]
diff --git a/src/launchpadlib/__init__.py b/src/launchpadlib/__init__.py
index 97fbb3b..326daab 100644
--- a/src/launchpadlib/__init__.py
+++ b/src/launchpadlib/__init__.py
@@ -14,4 +14,4 @@
# You should have received a copy of the GNU Lesser General Public License
# along with launchpadlib. If not, see <http://www.gnu.org/licenses/>.
-__version__ = '1.10.5'
+__version__ = '1.10.6'
diff --git a/src/launchpadlib/credentials.py b/src/launchpadlib/credentials.py
index 634e4d8..573d2c1 100644
--- a/src/launchpadlib/credentials.py
+++ b/src/launchpadlib/credentials.py
@@ -380,7 +380,7 @@ class KeyringCredentialStore(CredentialStore):
# 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('utf-8'))
def do_load(self, unique_key):
"""Retrieve credentials from the keyring."""