[OpenLayers-Commits] r11494 - trunk/openlayers/build

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Feb 25 08:41:41 EST 2011


Author: crschmidt
Date: 2011-02-25 05:41:40 -0800 (Fri, 25 Feb 2011)
New Revision: 11494

Modified:
   trunk/openlayers/build/build.py
Log:
Fix error when no closure compiler is around.


Modified: trunk/openlayers/build/build.py
===================================================================
--- trunk/openlayers/build/build.py	2011-02-25 13:40:44 UTC (rev 11493)
+++ trunk/openlayers/build/build.py	2011-02-25 13:41:40 UTC (rev 11494)
@@ -15,7 +15,7 @@
     try:
         import closure
         have_compressor.append("closure")
-    except ImportError, E:
+    except Exception, E:
         print "No closure (%s) % E"
     try:
         import closure_ws



More information about the Commits mailing list