python-keyring/keyring-gnome-3.18.patch

13 lines
464 B
Diff
Raw Normal View History

Index: keyring-5.4/keyring/backends/Gnome.py
===================================================================
--- keyring-5.4.orig/keyring/backends/Gnome.py
+++ keyring-5.4/keyring/backends/Gnome.py
@@ -3,6 +3,7 @@ import os
try:
from gi import Repository
if Repository.get_default().enumerate_versions('GnomeKeyring'):
+ gi.require_version('GnomeKeyring', '1.0')
from gi.repository import GnomeKeyring
except ImportError:
pass