File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def compressed_css(parser, token):
98
98
try :
99
99
tag_name , name = token .split_contents ()
100
100
except ValueError :
101
- raise template .TemplateSyntaxError , '%r requires exactly one argument: the name of a group in the PIPELINE_CSS setting' % token .split_contents ()[0 ]
101
+ raise template .TemplateSyntaxError ( '%r requires exactly one argument: the name of a group in the PIPELINE_CSS setting' % token .split_contents ()[0 ])
102
102
return CompressedCSSNode (name )
103
103
compressed_css = register .tag (compressed_css )
104
104
@@ -107,6 +107,6 @@ def compressed_js(parser, token):
107
107
try :
108
108
tag_name , name = token .split_contents ()
109
109
except ValueError :
110
- raise template .TemplateSyntaxError , '%r requires exactly one argument: the name of a group in the PIPELINE_JS setting' % token .split_contents ()[0 ]
110
+ raise template .TemplateSyntaxError ( '%r requires exactly one argument: the name of a group in the PIPELINE_JS setting' % token .split_contents ()[0 ])
111
111
return CompressedJSNode (name )
112
112
compressed_js = register .tag (compressed_js )
You can’t perform that action at this time.
0 commit comments