diff options
author | German M. Bravo <german.mb@deipi.com> | 2013-08-17 12:57:42 -0500 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2013-08-17 12:57:42 -0500 |
commit | 59ec436bc9c9bcc9ef4f6cc20b1c3e04637847d5 (patch) | |
tree | 33c6067c1781bcaad4a9a8633cdc671e6649facb | |
parent | 67b258752830455d14bbda43e3e39ab72015047e (diff) | |
download | pyscss-59ec436bc9c9bcc9ef4f6cc20b1c3e04637847d5.tar.gz |
Function name stripped for mixins and functions
-rw-r--r-- | scss/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scss/__init__.py b/scss/__init__.py index 23a6080..b640ebf 100644 --- a/scss/__init__.py +++ b/scss/__init__.py @@ -619,7 +619,9 @@ class Scss(object): if not block.argument: raise SyntaxError("%s requires a function name (%s)" % (block.directive, rule.file_and_line)) - funct, lpar, argstr = block.argument.strip().partition('(') + funct, lpar, argstr = block.argument.partition('(') + funct = normalize_var(funct.strip()) + argstr = argstr.strip() defaults = {} new_params = [] |