[Thuban-commits] r2876 - in trunk/thuban: . Thuban/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon May 18 16:18:56 CEST 2009


Author: dpinte
Date: 2009-05-18 16:18:55 +0200 (Mon, 18 May 2009)
New Revision: 2876

Modified:
   trunk/thuban/ChangeLog
   trunk/thuban/Thuban/UI/application.py
Log:
2009-05-18 Didrik Pinte <dpinte at dipole-consultin.com>

  * Thuban/UI/application.py : removed unneeded hardcoded load of extensions



Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog	2009-05-18 14:12:22 UTC (rev 2875)
+++ trunk/thuban/ChangeLog	2009-05-18 14:18:55 UTC (rev 2876)
@@ -1,3 +1,7 @@
+2009-05-18 Didrik Pinte <dpinte at dipole-consultin.com>
+
+  * Thuban/UI/application.py : removed unneeded hardcoded load of extensions
+
 2009-05-18 Didrik Pinte <dpinte at dipole-consulting.com>
 
   * Thuban/UI/__init__.py, application.py : bugfix for wxpython 2.8

Modified: trunk/thuban/Thuban/UI/application.py
===================================================================
--- trunk/thuban/Thuban/UI/application.py	2009-05-18 14:12:22 UTC (rev 2875)
+++ trunk/thuban/Thuban/UI/application.py	2009-05-18 14:18:55 UTC (rev 2876)
@@ -110,38 +110,6 @@
             logging.exception(_("Cannot import the thuban_cfg module."))
 
         logging.info(_("Trying to read ~/.thuban/thubanstart.py."))
-        try:
-            import Extensions.gns2shp
-        except:
-            sys.stderr.write('Cannot load gns2shp')
-        try:
-            import Extensions.umn_mapserver
-        except:
-            sys.stderr.write('Cannot load umn_mapserver')            
-        try:
-            import Extensions.wms
-        except:
-            sys.stderr.write('Cannot load wms')
-        try:
-            import Extensions.bboxdump
-        except:
-            sys.stderr.write('Cannot load bboxdump')            
-        try:
-            import Extensions.mouseposition
-        except:
-            sys.stderr.write('Cannot load mouseposition')            
-        try:
-            import Extensions.profiling
-        except:
-            sys.stderr.write('Cannot load profiling')
-        try:
-            import Extensions.svgexport
-        except:
-            sys.stderr.write('Cannot load svgexport')
-        try:
-            import Extensions.ogr
-        except:
-            sys.stderr.write('Cannot load ogr')            
         dir = get_application_dir()
         if os.path.isdir(dir):
             sys.path.append(dir)



More information about the Thuban-commits mailing list