[Mpuls-commits] r931 - in wasko/branches/2.0: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 26 20:08:56 CET 2010


Author: bh
Date: 2010-01-26 20:08:52 +0100 (Tue, 26 Jan 2010)
New Revision: 931

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py: Remove unused imports


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-01-26 19:05:55 UTC (rev 930)
+++ wasko/branches/2.0/ChangeLog	2010-01-26 19:08:52 UTC (rev 931)
@@ -1,5 +1,9 @@
 2010-01-26  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py: Remove unused imports
+
+2010-01-26  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/statement.py: Fix formatting
 
 2010-01-26  Bernhard Herzog  <bh at intevation.de>

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-01-26 19:05:55 UTC (rev 930)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-01-26 19:08:52 UTC (rev 931)
@@ -28,35 +28,31 @@
 #
 
 import sys
-import re
-from datetime import date, datetime, timedelta
+from datetime import date, datetime
 import traceback
 import codecs
 import cStringIO as StringIO
-import shutil
 from locale import strcoll
 from sets import Set
 
 import psycopg2.extras
 
-from pylons.i18n import _, ungettext, N_
+from pylons.i18n import _
 
 from formed.instance.backends.postgres import DBFactory as InstanceFactory
-from formed.instance.tree import SetDataException, RepeatInstanceContainerNode
+from formed.instance.tree import SetDataException
 from formed.meta.data import RepeatNode
 
-from waskaweb.lib.base import session, g, h, config
-import waskaweb.lib.filters as F
-from waskaweb.lib.helpers import dd_mm_yyyy_HH_MM, dd_mm_YYYY
+from waskaweb.lib.base import session, g
+from waskaweb.lib.helpers import dd_mm_YYYY
 from waskaweb.lib.db import db, PostgresDBInterface
-from waskaweb.lib.sql_helper import where_ids, range_compress
 from waskaweb.lib.search import CaseSearch
 #from waskaweb.lib.csv import exportAsCSV
 #from waskaweb.lib.excel import exportAsXLS
 #from waskaweb.lib.xmlexport import exportAsXML
 
 from waskaweb.model import UNKNOWN_DATE
-from waskaweb.model.user import UserObject, UserGroupFactory
+from waskaweb.model.user import UserObject
 from waskaweb.model.agencysettings import Agency
 from waskaweb.model.statement import PrivacyStatement, DiscretionStatement
 from waskaweb.model.document import listDocuments



More information about the Mpuls-commits mailing list