comparison getan.py @ 109:1165422b5db7

Only import necessary classes and functions don't import *
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 12 Dec 2011 09:15:47 +0100
parents a23e8191c6bc
children d85b2a25797c
comparison
equal deleted inserted replaced
108:e7548b8c6dcc 109:1165422b5db7
14 import sys 14 import sys
15 from datetime import datetime 15 from datetime import datetime
16 from optparse import OptionParser 16 from optparse import OptionParser
17 17
18 import getan.config as config 18 import getan.config as config
19 from getan.backend import * 19 from getan.backend import DEFAULT_DATABASE, Backend
20 from getan.view import * 20 from getan.view import GetanView, ProjectList, EntryList
21 from getan.utils import format_time 21 from getan.utils import format_time
22 from getan.states import PausedProjectsState
22 23
23 logger = logging.getLogger() 24 logger = logging.getLogger()
24 25
25 class GetanController: 26 class GetanController:
26 def __init__(self, backend, pv_class, ev_class): 27 def __init__(self, backend, pv_class, ev_class):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)