From 3addb4b22935c60a887cfbedae1df6846b9352e3 Mon Sep 17 00:00:00 2001 From: facetoe Date: Sun, 14 Feb 2016 12:15:22 +0800 Subject: [PATCH 1/2] Update PlaintextKeyring example with new import location. --- docs/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index eefe795..dffcd34 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -146,7 +146,7 @@ If you don't want to use the default you can set a specific keyring like so: .. code:: python - from keyring.backends.file import PlaintextKeyring + from keyrings.alt.file import PlaintextKeyring status.register('github', keyring_backend=PlaintextKeyring()) i3pystatus will locate and set the credentials during the module From ee5a7061070dea48907cbad46d19fa85c08520db Mon Sep 17 00:00:00 2001 From: facetoe Date: Sun, 14 Feb 2016 22:07:40 +0800 Subject: [PATCH 2/2] Document that the keyring example requires the keyrings.alt package. --- docs/configuration.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/configuration.rst b/docs/configuration.rst index dffcd34..6c8a0c8 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -146,6 +146,7 @@ If you don't want to use the default you can set a specific keyring like so: .. code:: python + # Requires the keyrings.alt package from keyrings.alt.file import PlaintextKeyring status.register('github', keyring_backend=PlaintextKeyring())