Debugger/WatchPointViewer.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/Debugger/WatchPointViewer.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Debugger/WatchPointViewer.py	Sat Jan 02 15:11:35 2010 +0000
@@ -12,7 +12,7 @@
 
 from E4Gui.E4Application import e4App
 
-from EditWatchpointDialog import EditWatchpointDialog
+from .EditWatchpointDialog import EditWatchpointDialog
 
 import Utilities
 
@@ -411,7 +411,7 @@
         
         @return count of items selected (integer)
         """
-        count = len(self.selectedIndexes()) / (self.__model.columnCount()-1)
+        count = len(self.selectedIndexes()) // (self.__model.columnCount()-1)
         # column count is 1 greater than selectable
         return count
     

eric ide

mercurial