Skip to content
Browse files

Merge pull request #27 from nickolay/master

Don't hang waiting on input from stdin with incorrect MINIFY_BUNDLES
  • Loading branch information...
2 parents 0548993 + 177ba9c commit 6c9104679626488bc0186a940e1d46f95ce7545f James Socol committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 jingo_minify/management/commands/compress_assets.py
View
4 jingo_minify/management/commands/compress_assets.py
@@ -80,6 +80,10 @@ def handle(self, **options):
# Concat all the files.
tmp_concatted = '%s.tmp' % concatted_file
+ if len(files_all) == 0:
+ raise CommandError('No input files specified in ' +
+ 'MINIFY_BUNDLES["%s"]["%s"] in settings.py!' %
+ (ftype, name))
self._call("cat %s > %s" % (' '.join(files_all), tmp_concatted),
shell=True)

0 comments on commit 6c91046

Please sign in to comment.
Something went wrong with that request. Please try again.