Extend offline-compression context

When using offline compression, all context information needs to be
available in order to generate matching compressor output.

Change I84807f6ca0d9769d25b942c151c1a83501648a0a introduced references
to HORIZON_CONFIG, so add it to the predefined list of context for
offline compression as well.

Change-Id: I44ee139626f0eac6fa34f9136926a1a626498039
This commit is contained in:
Dirk Mueller 2013-01-16 13:39:01 +01:00
parent c52c1977b7
commit 2560965eb0

View File

@ -176,6 +176,11 @@ try:
except ImportError:
logging.warning("No local_settings file found.")
# Add HORIZON_CONFIG to the context information for offline compression
COMPRESS_OFFLINE_CONTEXT = {
'STATIC_URL': STATIC_URL,
'HORIZON_CONFIG': HORIZON_CONFIG
}
# Deprecation for Essex/Folsom dashboard names; remove this code in H.
_renames = (