diff options
Diffstat (limited to 'portato/gui/gui_helper.py')
-rw-r--r-- | portato/gui/gui_helper.py | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py index 3ed8152..0d7ecf8 100644 --- a/portato/gui/gui_helper.py +++ b/portato/gui/gui_helper.py @@ -10,27 +10,25 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> +from __future__ import absolute_import + +# some stuff needed +import logging +import os, pty +import signal, threading, time +from subprocess import Popen, PIPE, STDOUT + # some backend things -from portato import backend -from portato.backend import flags, system, set_system -from portato.helper import debug, info, send_signal_to_group, set_log_level, unique_array -from portato.waiting_queue import WaitingQueue -from portato import plugin +from .. import backend, plugin +from ..backend import flags, system, set_system +from ..helper import debug, info, send_signal_to_group, set_log_level, unique_array +from ..waiting_queue import WaitingQueue # parser -from portato.config_parser import ConfigParser +from ..config_parser import ConfigParser # the wrapper -from wrapper import Console, Tree - -# some stuff needed -from subprocess import Popen, PIPE, STDOUT -import threading -import pty -import time -import os -import signal -import logging +from .wrapper import Console, Tree class Config: """Wrapper around a ConfigParser and for additional local configurations.""" |