looks ok
[root@localhost site-packages]# patch -p1 < ~/tuna-0001.patch
patching file tuna/config.py
[root@localhost site-packages]# tuna -l
Preloaded config files:
example.conf
[root@localhost site-packages]# cat /etc/fedora-release
Fedora release 21 (Rawhide)
[root@localhost site-packages]#
in i didn't detected any problem.
j.
On Tue, Dec 03, 2013 at 03:35:05PM +0100, Petr Oros wrote:
Tuna showing traceback when user haven't set DISPLAY variable and
using CLI with param -l.
This is caused by gtk library which try create "window", but in CLI mode is not
neccesary.
Patch remove unnecesary library which cause this problem
Signed-off-by: Petr Oros <poros(a)redhat.com>
---
tuna/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuna/config.py b/tuna/config.py
index e446447..77cc4d8 100644
--- a/tuna/config.py
+++ b/tuna/config.py
@@ -1,5 +1,5 @@
import io, os, re, fnmatch
-import sys, gtk, pygtk
+import sys, pygtk
import codecs, ConfigParser
from time import localtime, strftime
from subprocess import Popen, PIPE, STDOUT, call
--
1.8.4.2
_______________________________________________
tuna-devel mailing list
tuna-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/tuna-devel