...
[iramuteq] / sheet.py
index c4fbd69..76fcde2 100644 (file)
--- a/sheet.py
+++ b/sheet.py
@@ -2,11 +2,10 @@
 # -*- coding: utf-8 -*-
 #Author: Pierre Ratinaud
 #Copyright (c) 2008-2009 Pierre Ratinaud
-#Lisense: GNU/GPL
+#License: GNU/GPL
 
 
 from wx.lib import sheet
-import wx
 
 
 class MySheet(sheet.CSheet):
@@ -21,14 +20,9 @@ class MySheet(sheet.CSheet):
         event.Skip()
         
     def Populate(self,content):
-        c=0
-        for r in content:
-            c+=1
         nrow=len(content)
-        print 'nrow', nrow
         self.SetNumberRows(nrow)
         ncol=len(content[1])
-        print 'ncol',ncol
         self.SetNumberCols(ncol)
         for y in range(0,nrow):
             for i in range(0,ncol):