[Pywps-commits] r1003 - in trunk/pywps: . Process

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 3 11:47:22 CEST 2010


Author: jachym
Date: 2010-09-03 11:47:21 +0200 (Fri, 03 Sep 2010)
New Revision: 1003

Modified:
   trunk/pywps/Process/__init__.py
   trunk/pywps/Template.py
Log:
little fixes


Modified: trunk/pywps/Process/__init__.py
===================================================================
--- trunk/pywps/Process/__init__.py	2010-09-01 11:07:53 UTC (rev 1002)
+++ trunk/pywps/Process/__init__.py	2010-09-03 09:47:21 UTC (rev 1003)
@@ -615,7 +615,7 @@
                 printed. nothing happen otherwise.
         """
 
-        if self.debug or force and self.logFile:
+        if (self.debug or force) and self.logFile:
             if type(self.logFile) == type(""):
                 try:
                     f = open(self.logFile,"w")

Modified: trunk/pywps/Template.py
===================================================================
--- trunk/pywps/Template.py	2010-09-01 11:07:53 UTC (rev 1002)
+++ trunk/pywps/Template.py	2010-09-03 09:47:21 UTC (rev 1003)
@@ -41,7 +41,7 @@
 VARTYPES=[types.StringType, types.FileType,
         types.FloatType, types.IntType,
         types.NoneType,
-        types.BooleanType, types.LongType]
+        types.BooleanType, types.LongType, types.UnicodeType]
 
 class Token:
     """Base Token class. Token is snipplet of input template. Template



More information about the Pywps-commits mailing list