[QGIS Commit] r9654 - trunk/qgis/python/plugins/mapserver_export

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 17 11:11:12 EST 2008


Author: wonder
Date: 2008-11-17 11:11:11 -0500 (Mon, 17 Nov 2008)
New Revision: 9654

Modified:
   trunk/qgis/python/plugins/mapserver_export/__init__.py
Log:
- set mapserver export plugin as compatible
- move import statement to classFactory() to allow faster QGIS startup


Modified: trunk/qgis/python/plugins/mapserver_export/__init__.py
===================================================================
--- trunk/qgis/python/plugins/mapserver_export/__init__.py	2008-11-17 16:04:30 UTC (rev 9653)
+++ trunk/qgis/python/plugins/mapserver_export/__init__.py	2008-11-17 16:11:11 UTC (rev 9654)
@@ -18,14 +18,17 @@
  ***************************************************************************/
  This script initializes the plugin, making it known to QGIS.
 """
-# load MapServerExport class from file mapserverexport.py
-from mapserverexport import MapServerExport 
+
 def name(): 
   return "MapServer Export" 
 def description():
   return "Export a saved QGIS project file to a MapServer map file"
 def version(): 
   return "Version 0.1" 
+def qgisMinimumVersion(): 
+  return "1.0" 
 def classFactory(iface): 
+  # load MapServerExport class from file mapserverexport.py
+  from mapserverexport import MapServerExport 
   return MapServerExport(iface) 
 



More information about the QGIS-commit mailing list