c6f3fb5e9f
Added patch to import gi module and added to changes file OBS-URL: https://build.opensuse.org/request/show/331682 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=38
13 lines
432 B
Diff
13 lines
432 B
Diff
diff --git a/keyring/backends/Gnome.py b/keyring/backends/Gnome.py
|
|
index 7a8a274..642bc80 100644
|
|
--- a/keyring/backends/Gnome.py
|
|
+++ b/keyring/backends/Gnome.py
|
|
@@ -3,6 +3,7 @@ import os
|
|
try:
|
|
from gi import Repository
|
|
if Repository.get_default().enumerate_versions('GnomeKeyring'):
|
|
+ import gi
|
|
gi.require_version('GnomeKeyring', '1.0')
|
|
from gi.repository import GnomeKeyring
|
|
except ImportError:
|