diff --git a/terminator b/terminator index 21eaec7d..5be73d53 100755 --- a/terminator +++ b/terminator @@ -21,8 +21,7 @@ import sys import os -import psutil -import pwd + try: ORIGCWD = os.getcwd() except OSError: diff --git a/terminatorlib/plugins/dir_open.py b/terminatorlib/plugins/dir_open.py index 051c04d0..9e90086a 100644 --- a/terminatorlib/plugins/dir_open.py +++ b/terminatorlib/plugins/dir_open.py @@ -1,7 +1,5 @@ from gi.repository import Gtk -from terminatorlib.config import Config -from terminatorlib.terminal import Terminal from terminatorlib.translation import _ import terminatorlib.plugin as plugin diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 7ed248b0..7d58f9d8 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -15,7 +15,7 @@ try: except ImportError: from urllib import unquote as urlunquote -from .util import dbg, err, spawn_new_terminator, make_uuid, manual_lookup, display_manager +from .util import dbg, err, spawn_new_terminator, make_uuid, manual_lookup from . import util from .config import Config from .cwd import get_pid_cwd diff --git a/terminatorlib/terminal_popup_menu.py b/terminatorlib/terminal_popup_menu.py index dc7f95f7..d23406b7 100644 --- a/terminatorlib/terminal_popup_menu.py +++ b/terminatorlib/terminal_popup_menu.py @@ -12,7 +12,6 @@ from .util import err, dbg, spawn_new_terminator from .config import Config from .prefseditor import PrefsEditor from . import plugin -from .layoutlauncher import LayoutLauncher class TerminalPopupMenu(object): """Class implementing the Terminal context menu""" diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index aede3336..4da976f7 100644 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -17,7 +17,6 @@ from .config import Config from .keybindings import Keybindings from .util import dbg, err, enumerate_descendants from .factory import Factory -from .version import APP_NAME, APP_VERSION from .translation import _ try: diff --git a/tests/test_signalman.py b/tests/test_signalman.py index 0044e11d..c10a6ddd 100755 --- a/tests/test_signalman.py +++ b/tests/test_signalman.py @@ -30,7 +30,6 @@ False """ -import os import sys, os.path sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), "..")))