Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix
loxodo
164ba66d5cc08e26a07d65eec51ab93e68dedd51.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 164ba66d5cc08e26a07d65eec51ab93e68dedd51.patch of Package loxodo
From 164ba66d5cc08e26a07d65eec51ab93e68dedd51 Mon Sep 17 00:00:00 2001 From: Jason Ansel <jansel@csail.mit.edu> Date: Fri, 14 Mar 2014 19:02:53 -0700 Subject: [PATCH] Fix for crash when there is no gtk display --- src/frontends/cmdline/loxodo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontends/cmdline/loxodo.py b/src/frontends/cmdline/loxodo.py index 567dd4a..22d2df7 100755 --- a/src/frontends/cmdline/loxodo.py +++ b/src/frontends/cmdline/loxodo.py @@ -221,8 +221,9 @@ def do_show(self, line, echo=True, passwd=False): if pygtk is not None and gtk is not None: cb = gtk.clipboard_get() - cb.set_text(record.passwd) - cb.store() + if cb is not None: + cb.set_text(record.passwd) + cb.store() def complete_show(self, text, line, begidx, endidx): if not text: -- 1.9.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor