diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-28 18:39:01 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-08-28 18:39:01 -0700 |
commit | 69cdd7a270e12f6c45ac417d3dbfadfc097c9f72 (patch) | |
tree | 5e696475f02cdaaf9256ae565c0736d5bd77dc6c /scss/types.py | |
parent | 8853dfee8e9d31a598562edc723eb102157ccc81 (diff) | |
download | pyscss-69cdd7a270e12f6c45ac417d3dbfadfc097c9f72.tar.gz |
Finish the rest of List * Number.
Diffstat (limited to 'scss/types.py')
-rw-r--r-- | scss/types.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/types.py b/scss/types.py index a2c075f..5d26185 100644 --- a/scss/types.py +++ b/scss/types.py @@ -610,6 +610,8 @@ class List(Value): if not other.is_unitless: raise TypeError("Can only multiply %s by %s" % (self.__class__.__name__, other.__class__.__name__)) + return List(self.value * int(other.value), use_comma=self.use_comma) + def render(self, compress=False): delim = self.delimiter(compress) |