Commits

Antoni Aloy committed 89a2aaa

ups bugs

Comments (0)

Files changed (2)

 
 setup(
     name='xlswtreporter',
-    version='0.0.2',
+    version='0.0.3',
     author='Antoni Aloy',
     author_email='antoni.aloy@gmail.com',
     py_modules=['xlwtreport'],

xlwtreport/engine.py

         increases the column counter, so next write will be in the
         right column"""
 
-            self.write(value, fmt)
-            self._col += 1
+        self.write(value, fmt)
+        self._col += 1
 
     def writecol(self, value, fmt=None):
         """Writes the content value to the actual cell position and
             self._col +=1
             self._row = actual_row
 
-    def writecols(self, value_list, fmt=None, formula=None):
-        """Writes a list of list in column mode, with an
-        optional formula summary"""
-
-        actual_row = self._row
-        for lista in value_list:
-            origin = self.get_actual_cell()
-            self.writelns(lista, fmt)
-            if formula:
-                destination = self.get_upper_cell()
-                self.writecol(xlwt.Formula('%s(%s:%s)' % (formula, origin, destination)), fmt)
-            self._col +=1
-            self._row = actual_row
-
     def set_col_sytle(self, col, style):
         self.sheet.col(col).set_style(style)