Fixed typo in last merge.

This commit is contained in:
Jannis Leidel
2014-12-30 13:27:13 +01:00
parent f6c4a89d0d
commit 36bcc887d4

View File

@@ -44,7 +44,7 @@ class JsCompressor(Compressor):
if (settings.COMPRESS_ENABLED or settings.COMPRESS_PRECOMPILERS or
kwargs.get('forced', False)):
self.split_contents()
if hasattr(self, 'nodes'):
if hasattr(self, 'extra_nodes'):
ret = []
for extra, subnode in self.extra_nodes:
subnode.extra_context.update({'extra': extra})