changeset 1271:0daf68f3c1f9

Coding style
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 12 Jan 2011 21:09:05 +0800
parents ef1f16beef21
children 32a73093a3de
files pyink/domview_ui.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/domview_ui.py	Wed Jan 12 21:04:45 2011 +0800
+++ b/pyink/domview_ui.py	Wed Jan 12 21:09:05 2011 +0800
@@ -121,11 +121,13 @@
     def _remove_all_framelines(self):
         num = len(self._framelines)
 	
-        for idx in range(0,num):
+        for idx in range(0, num):
 	    line = self._framelines[idx]
 	    hbox = line.parent
 	    self._frameline_vbox.remove(hbox)
-	self._framelines=[]
+            pass
+        
+	self._framelines = []
 	self._last_mouse_over_frameline = None
 	self._last_active_frameline = None
 	self._active_frame_callback = None