summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-28 18:39:01 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-28 18:39:01 -0700
commit69cdd7a270e12f6c45ac417d3dbfadfc097c9f72 (patch)
tree5e696475f02cdaaf9256ae565c0736d5bd77dc6c
parent8853dfee8e9d31a598562edc723eb102157ccc81 (diff)
downloadpyscss-69cdd7a270e12f6c45ac417d3dbfadfc097c9f72.tar.gz
Finish the rest of List * Number.
-rw-r--r--scss/types.py2
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)