Fix error when no closure compiler is around.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11494 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ def build(config_file = None, output_file = None, options = None):
|
|||||||
try:
|
try:
|
||||||
import closure
|
import closure
|
||||||
have_compressor.append("closure")
|
have_compressor.append("closure")
|
||||||
except ImportError, E:
|
except Exception, E:
|
||||||
print "No closure (%s) % E"
|
print "No closure (%s) % E"
|
||||||
try:
|
try:
|
||||||
import closure_ws
|
import closure_ws
|
||||||
|
|||||||
Reference in New Issue
Block a user