[Mpuls-commits] r892 - wasko/branches/2.0/waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 26 15:18:43 CET 2010
Author: torsten
Date: 2010-01-26 15:18:43 +0100 (Tue, 26 Jan 2010)
New Revision: 892
Modified:
wasko/branches/2.0/waskaweb/lib/security.py
Log:
Reformatted imports. Added logging
Modified: wasko/branches/2.0/waskaweb/lib/security.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/security.py 2010-01-26 14:16:04 UTC (rev 891)
+++ wasko/branches/2.0/waskaweb/lib/security.py 2010-01-26 14:18:43 UTC (rev 892)
@@ -29,26 +29,28 @@
# Torsten Irlaender <torsten.irlaender at intevation.de>
#
-from waskaweb.lib.db import DB, db, enter, leave
-from pylons import request, session, config
-import re
-import logging
-import traceback
import sys
+import os
import time
-import os
+import re
import random
import md5
-
+import traceback
+import logging
from codecs import getdecoder
+from decorator import decorator
+from types import ListType, TupleType
import psycopg2 as dbapi
-from decorator import decorator
from paste.httpexceptions import HTTPUnauthorized
-from types import ListType, TupleType
+from pylons import request, session, config
+from waskaweb.lib.db import DB, db, enter, leave
+log = logging.getLogger(_name__)
+
+
HOST = '192.168.11.17'
PORT = 5433
DBNAME = u'ka_%s_db'
More information about the Mpuls-commits
mailing list