[Python-modules-commits] [python-keyring] 01/03: New upstream version 10.6.0

Dmitry Shachnev mitya57 at moszumanska.debian.org
Tue Jan 9 12:12:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository python-keyring.

commit 856b483a1e863805c99d22de38d1069f21225211
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Tue Jan 9 15:10:50 2018 +0300

    New upstream version 10.6.0
---
 .travis-osx               |  2 +-
 .travis.yml               |  6 ++----
 CHANGES.rst               |  6 ++++++
 PKG-INFO                  |  2 +-
 keyring.egg-info/PKG-INFO |  2 +-
 keyring/errors.py         | 11 ++++++++---
 6 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/.travis-osx b/.travis-osx
index 3178503..0256486 100644
--- a/.travis-osx
+++ b/.travis-osx
@@ -3,4 +3,4 @@ brew update
 brew install python3
 rm /usr/local/bin/python
 ln -s python3 /usr/local/bin/python
-python -m pip install --upgrade tox
+ln -s pip3 /usr/local/bin/pip
diff --git a/.travis.yml b/.travis.yml
index a2c0c5d..c364315 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,10 @@
 language: python
 
-python:
-- 2.7
-- &latest_py3 3.6
-
 jobs:
   fast_finish: true
   include:
+  - python: 2.7
+  - python: &latest_py3 3.6
   - os: osx
     language: generic
     python: *latest_py3
diff --git a/CHANGES.rst b/CHANGES.rst
index 6bcf5c2..aa25cbc 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,9 @@
+10.6.0
+------
+
+* #299: Keyring exceptions are now derived from a base
+  ``keyring.errors.KeyringError``.
+
 10.5.1
 ------
 
diff --git a/PKG-INFO b/PKG-INFO
index cf872c9..49ea68e 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: keyring
-Version: 10.5.1
+Version: 10.6.0
 Summary: Store and access your passwords safely.
 Home-page: https://github.com/jaraco/keyring
 Author: Jason R. Coombs
diff --git a/keyring.egg-info/PKG-INFO b/keyring.egg-info/PKG-INFO
index cf872c9..49ea68e 100644
--- a/keyring.egg-info/PKG-INFO
+++ b/keyring.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: keyring
-Version: 10.5.1
+Version: 10.6.0
 Summary: Store and access your passwords safely.
 Home-page: https://github.com/jaraco/keyring
 Author: Jason R. Coombs
diff --git a/keyring/errors.py b/keyring/errors.py
index 63043dd..de379c5 100644
--- a/keyring/errors.py
+++ b/keyring/errors.py
@@ -1,17 +1,22 @@
 import sys
 
 
-class PasswordSetError(Exception):
+class KeyringError(Exception):
+    """Base class for exceptions in keyring
+    """
+
+
+class PasswordSetError(KeyringError):
     """Raised when the password can't be set.
     """
 
 
-class PasswordDeleteError(Exception):
+class PasswordDeleteError(KeyringError):
     """Raised when the password can't be deleted.
     """
 
 
-class InitError(Exception):
+class InitError(KeyringError):
     """Raised when the keyring could not be initialised
     """
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-keyring.git



More information about the Python-modules-commits mailing list