From 7beba6ebf0cc1b76c9d2f670541f30928317ac76 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Thu, 9 Jun 2011 18:06:34 +0200 Subject: [PATCH] Remove unneeded imports --- sloth/core/labeltool.py | 2 +- sloth/gui/labeltool.py | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sloth/core/labeltool.py b/sloth/core/labeltool.py index e41f787..f8ed34a 100755 --- a/sloth/core/labeltool.py +++ b/sloth/core/labeltool.py @@ -8,7 +8,7 @@ from sloth.annotations.model import * from sloth.annotations.container import AnnotationContainerFactory, AnnotationContainer from sloth.conf import config from sloth.core.utils import import_callable -from sloth import APP_NAME, ORGANIZATION_NAME, ORGANIZATION_DOMAIN, VERSION +from sloth import VERSION import okapy.videoio as okv diff --git a/sloth/gui/labeltool.py b/sloth/gui/labeltool.py index 57cd074..3573ee7 100755 --- a/sloth/gui/labeltool.py +++ b/sloth/gui/labeltool.py @@ -1,22 +1,18 @@ #!/usr/bin/python -import sys, os +import os import functools, importlib import fnmatch -from optparse import OptionParser from PyQt4.QtGui import * from PyQt4.QtCore import * import PyQt4.uic as uic from sloth.gui import qrc_icons from sloth.gui.buttonarea import * -from sloth.annotations.model import * -from sloth.annotations.container import AnnotationContainerFactory, AnnotationContainer from sloth.gui.annotationscene import * from sloth.gui.frameviewer import * from sloth.gui.controlbuttons import * from sloth.conf import config -from sloth.core.utils import import_callable -from sloth import APP_NAME, ORGANIZATION_NAME, ORGANIZATION_DOMAIN, VERSION - +from sloth.annotations.model import AnnotationTreeView +from sloth import APP_NAME, ORGANIZATION_DOMAIN, VERSION import okapy.videoio as okv GUIDIR=os.path.join(os.path.dirname(__file__))