cleanup 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 08:16:01 +0200
branch3.5
changeset 3303 f961392e7517
parent 3302 6526febd9151
child 3304 2b18276b21ab
cleanup
schemas/workflow.py
server/serverctl.py
--- a/schemas/workflow.py	Fri Sep 18 07:57:28 2009 +0200
+++ b/schemas/workflow.py	Fri Sep 18 08:16:01 2009 +0200
@@ -27,7 +27,6 @@
                                   constraints=[RQLConstraint('O final FALSE')])
 
     initial_state = SubjectRelation('State', cardinality='?*',
-                                   # S initial_state O, O state_of S
                                    constraints=[RQLConstraint('O state_of S')],
                                    description=_('initial state for this workflow'))
 
--- a/server/serverctl.py	Fri Sep 18 07:57:28 2009 +0200
+++ b/server/serverctl.py	Fri Sep 18 08:16:01 2009 +0200
@@ -312,7 +312,7 @@
         # postgres specific stuff
         if driver == 'postgres':
             # install plpythonu/plpgsql language if not installed by the cube
-            langs = sys.platform == 'win32' and ('plpgsql',) or ('plpythonu', 'plpgsql') 
+            langs = sys.platform == 'win32' and ('plpgsql',) or ('plpythonu', 'plpgsql')
             for extlang in langs:
                 helper.create_language(cursor, extlang)
         cursor.close()