diff options
author | Petr Oros <poros@redhat.com> | 2013-12-04 07:29:35 +0000 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2014-01-30 15:00:05 +0100 |
commit | 5d555e0eb046a0df201f0e3aaabb03296944151b (patch) | |
tree | 3d04ea59b5af4abe6ae92a895eeb2a5d9d9c1bf1 | |
parent | 443234bd24c794068a752d567bb7f4d903fbbaac (diff) | |
download | tuna-5d555e0eb046a0df201f0e3aaabb03296944151b.tar.gz |
CLI: fix traceback due unavailable display
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
Tested-by: Jiri Kastner <jkastner@redhat.com>
Signed-off-by: Petr Oros <poros@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
-rw-r--r-- | tuna/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |