From 4b332bfcf0483ba6a8cd070f6a97456e7e31aa87 Mon Sep 17 00:00:00 2001 From: Albert Liang Date: Tue, 30 Jun 2015 14:02:07 -0700 Subject: [PATCH] Add missing comma to tuple Currently, Python implicitly concatenates two string entries located next to each other because there is no comma separating them. The code concatenates "*.pyc" and "sass/*.scss", creating a single entry called "*.pycsass/*.scss". --- cms/envs/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index 0bff2b71f5..1c93ff78ea 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -543,7 +543,7 @@ PIPELINE_JS_COMPRESSOR = None STATICFILES_IGNORE_PATTERNS = ( "*.py", - "*.pyc" + "*.pyc", # it would be nice if we could do, for example, "**/*.scss", # but these strings get passed down to the `fnmatch` module, # which doesn't support that. :(