remove unnecessary dependencies, appease pylint some more

This commit is contained in:
Chris Jones 2009-08-11 00:22:55 +01:00
parent 0953fca37b
commit eb99ed2c92
1 changed files with 4 additions and 6 deletions

View File

@ -3,8 +3,7 @@
# GPL v2 only
"""terminator.py - class for the master Terminator singleton"""
from util import dbg, err
from version import APP_NAME, APP_VERSION
from terminal import Terminal
class _Terminator(object):
"""master object for the application"""
@ -43,7 +42,7 @@ class _Terminator(object):
save = False
if terminal.group == group:
save = True
break;
break
if not save:
todestroy.append(group)
@ -51,10 +50,9 @@ class _Terminator(object):
for group in todestroy:
self.groups.remove(group)
_terminator = _Terminator()
TERMINATOR = _Terminator()
def Terminator():
"""Return the instance"""
return(_terminator)
return(TERMINATOR)
# vim: set expandtab ts=4 sw=4: