From 6e2b99a0870e467e35c8b4b95aeb1e665dded413 Mon Sep 17 00:00:00 2001 From: Jonathan Herman Date: Thu, 21 Feb 2013 18:32:24 -0500 Subject: Many bugfixes motivated by some end-to-end testing. --- plot/style.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plot/style.py') diff --git a/plot/style.py b/plot/style.py index ca7a112..fd1fa97 100644 --- a/plot/style.py +++ b/plot/style.py @@ -16,6 +16,9 @@ class StyleMap(object): self.field_map = {} for field, values in self.__get_all()._asdict().iteritems(): + if not col_list: + break + next_column = col_list.pop(0) value_dict = {} -- cgit v1.2.2