1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Remove check for GNOME_DESKTOP_SESSION_ID

It was removed from GNOME with this commit:
6bf47ad8c6
This commit is contained in:
lethliel 2019-08-27 17:50:57 +02:00
parent abf206fa0d
commit 629ab25a0e

View File

@ -79,12 +79,7 @@ except:
import gobject
gobject.set_application_name('osc')
import gnomekeyring
if os.environ['GNOME_DESKTOP_SESSION_ID']:
# otherwise gnome keyring bindings spit out errors, when you have
# it installed, but you are not under gnome
# (even though hundreds of gnome-keyring daemons got started in parallel)
# another option would be to support kwallet here
GNOME_KEYRING = gnomekeyring.is_available()
GNOME_KEYRING = gnomekeyring.is_available()
except:
pass