diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-23 19:44:03 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-23 19:44:03 -0700 |
commit | 15be21e290483e89d4fe19a960047699fdfb542d (patch) | |
tree | 6bd9c2f9d80dd432ec1abf202d998ff68c55248c /scss/expression.py | |
parent | 376e51167ce1a6b7f86857c12d56f59047b34e92 (diff) | |
download | pyscss-15be21e290483e89d4fe19a960047699fdfb542d.tar.gz |
Holy crap variable arguments. Fixes #100!
Diffstat (limited to 'scss/expression.py')
-rw-r--r-- | scss/expression.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scss/expression.py b/scss/expression.py index d4fa107..c2667f0 100644 --- a/scss/expression.py +++ b/scss/expression.py @@ -417,7 +417,10 @@ class ArgspecLiteral(Expression): # node). # slurp is the name of a variable to receive slurpy arguments. self.argpairs = tuple(argpairs) - self.slurp = slurp + if slurp: + self.slurp = Variable(slurp) + else: + self.slurp = None def iter_list_argspec(self): yield None, ListLiteral(zip(*self.argpairs)[1]) |