[GRASS-SVN] r56147 - grass/trunk/gui/wxpython/dbmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 7 03:31:11 PDT 2013
Author: turek
Date: 2013-05-07 03:31:11 -0700 (Tue, 07 May 2013)
New Revision: 56147
Modified:
grass/trunk/gui/wxpython/dbmgr/base.py
Log:
wxGUI/dbmgr: ApplyCommands: close sqlFile after for loop
Modified: grass/trunk/gui/wxpython/dbmgr/base.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/base.py 2013-05-06 16:32:32 UTC (rev 56146)
+++ grass/trunk/gui/wxpython/dbmgr/base.py 2013-05-07 10:31:11 UTC (rev 56147)
@@ -827,7 +827,7 @@
else:
sqlFile.write(sql + ';')
sqlFile.write(os.linesep)
- sqlFile.close()
+ sqlFile.close()
driver = self.dbMgrData['mapDBInfo'].layers[self.selLayer]["driver"]
database = self.dbMgrData['mapDBInfo'].layers[self.selLayer]["database"]
More information about the grass-commit
mailing list