1. Sanjiv Singh
  2. geoalchemy

Commits

tsauerwein  committed 999976a

fixed syntax errors with python 2.5

  • Participants
  • Parent commits fb96554
  • Branches default

Comments (0)

Files changed (1)

File geoalchemy/functions.py

View file
         packages = function_data.split('.')
         
         return Function(packages.pop(-1), 
-                        *params, 
-                        packagenames=packages
+                        packagenames=packages, 
+                        *params
                         )
 
     
     class wkb(BaseFunction):
         """AsBinary(g)"""
         def __init__(self, *arguments):
-            BaseFunction.__init__(self, *arguments, type_=_WKBType)
+            BaseFunction.__init__(self, type_=_WKBType, *arguments)
         
     class dimension(BaseFunction):
         """Dimension(g)"""