[Osaas-commits] r17 - in trunk: . server/osaas server/test
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Aug 28 16:33:18 CEST 2007
Author: bh
Date: 2007-08-28 16:33:18 +0200 (Tue, 28 Aug 2007)
New Revision: 17
Modified:
trunk/ChangeLog
trunk/server/osaas/dbinit.py
trunk/server/osaas/server.py
trunk/server/test/test_httpserver.py
Log:
* server/osaas/dbinit.py, server/osaas/server.py,
server/test/test_httpserver.py: Remove unused imports
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-08-28 14:18:24 UTC (rev 16)
+++ trunk/ChangeLog 2007-08-28 14:33:18 UTC (rev 17)
@@ -1,5 +1,10 @@
2007-08-28 Bernhard Herzog <bh at intevation.de>
+ * server/osaas/dbinit.py, server/osaas/server.py,
+ server/test/test_httpserver.py: Remove unused imports
+
+2007-08-28 Bernhard Herzog <bh at intevation.de>
+
* server/osaas/dbinit.py: New. Helper program to initialize the
database according to the settings from the config file.
Modified: trunk/server/osaas/dbinit.py
===================================================================
--- trunk/server/osaas/dbinit.py 2007-08-28 14:18:24 UTC (rev 16)
+++ trunk/server/osaas/dbinit.py 2007-08-28 14:33:18 UTC (rev 17)
@@ -6,11 +6,9 @@
# Read the file COPYING coming with the software for details.
import sys
-import optparse
from http.run import ProgramWithOptions
from run import OSAASProgramMixin
-from config import OSAASOption, read_config_file
from dbbackend import DBBackend
class DBInitProgram(OSAASProgramMixin, ProgramWithOptions):
Modified: trunk/server/osaas/server.py
===================================================================
--- trunk/server/osaas/server.py 2007-08-28 14:18:24 UTC (rev 16)
+++ trunk/server/osaas/server.py 2007-08-28 14:33:18 UTC (rev 17)
@@ -6,11 +6,8 @@
# Read the file COPYING coming with the software for details.
import logging
-import cgi
import base64
-from BaseHTTPServer import BaseHTTPRequestHandler
-
from osaas.http.httpserver import HTTPRequestHandler
from osaas.http.threadedserver import ThreadedHTTPServer
from osaas.http.threadpool import ThreadPool
Modified: trunk/server/test/test_httpserver.py
===================================================================
--- trunk/server/test/test_httpserver.py 2007-08-28 14:18:24 UTC (rev 16)
+++ trunk/server/test/test_httpserver.py 2007-08-28 14:33:18 UTC (rev 17)
@@ -9,9 +9,7 @@
import serversupport
-import osaas.http.httpserver as httpserver
-
class SimpleHTTPServerTests(serversupport.ServerTest):
server_contents = [
More information about the Osaas-commits
mailing list