Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
fixed bug in not handling external_urls defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Altman committed Mar 19, 2009
1 parent 025534a commit 40727e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compress/management/commands/synccompress.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ def handle_noargs(self, **options):
print

for name, js in settings.COMPRESS_JS.items():
u, version = needs_update(js['output_filename'],
js['source_filenames'])
if 'external_urls' in js:
u, version = False, "External"
else:
u, version = needs_update(js['output_filename'],
js['source_filenames'])

if (force or u) or verbosity >= 2:
msg = 'JavaScript Group \'%s\'' % name
Expand Down

0 comments on commit 40727e0

Please sign in to comment.