remove 2.5 construct 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 07:56:46 +0200
branch3.5
changeset 3301 1050fcfdb5cf
parent 3299 cb543d6bd0e6
child 3302 6526febd9151
remove 2.5 construct
server/serverctl.py
--- a/server/serverctl.py	Thu Sep 17 19:43:42 2009 +0200
+++ b/server/serverctl.py	Fri Sep 18 07:56:46 2009 +0200
@@ -312,7 +312,7 @@
         # postgres specific stuff
         if driver == 'postgres':
             # install plpythonu/plpgsql language if not installed by the cube
-            langs = ('plpgsql',) if sys.platform == 'win32' else ('plpythonu', 'plpgsql') 
+            langs = sys.platform == 'win32' and ('plpgsql',) or ('plpythonu', 'plpgsql') 
             for extlang in langs:
                 helper.create_language(cursor, extlang)
         cursor.close()