Mercurial > hg > ChinaGisRestApi
changeset 5:7539a9e69365 api_v1
small fix
author | casties |
---|---|
date | Wed, 16 Jun 2010 11:47:06 +0000 |
parents | e3ee1f358fe6 |
children | 66910a934834 bd52d9445a41 |
files | RestDbInterface.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/RestDbInterface.py Mon Jun 07 14:02:17 2010 +0000 +++ b/RestDbInterface.py Wed Jun 16 11:47:06 2010 +0000 @@ -78,7 +78,7 @@ except Exception, e: raise IOError("No database connection! (%s)"%str(e)) - cursor = conn.getCursor() + cursor = conn.getcursor() return cursor def executeSQL(self, query, *args): @@ -225,4 +225,4 @@ #checkPermission=getSecurityManager().checkPermission REQUEST.RESPONSE.redirect('manage_main') - \ No newline at end of file +