From b3e791b4d41a7c24bea6aca3c374fc0170c8fb65 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 5 Jan 2013 18:36:23 -0600 Subject: [PATCH] fixed geoPoint bug, thanks Paolo Valleri --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f42aeb29..d64c6f8c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.03.21.29.36 +Version 2.4.1-alpha.2+timestamp.2013.01.05.18.35.40 diff --git a/gluon/dal.py b/gluon/dal.py index e0bf0560..31a2fc08 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -9736,7 +9736,7 @@ DAL.Table = Table # was necessary in gluon/globals.py session.connect # Geodal utils ################################################################################ -def geoPoint(*line): +def geoPoint(x,y): return "POINT (%f %f)" % (x,y) def geoLine(*line):