[PATCHES] remove trailing ";" EOL markers



Python does not need end of line markers, remove statements that have no effects

-- 
Vincent Legoll
Index: filediff.py
===================================================================
--- filediff.py	(révision 1153)
+++ filediff.py	(copie de travail)
@@ -272,7 +272,7 @@
         self.pixels_per_line = (metrics.get_ascent() + metrics.get_descent()) / 1024
         self.pango_char_width = metrics.get_approximate_char_width()
         tabs = pango.TabArray(10, 0)
-        tab_size = self.prefs.tab_size;
+        tab_size = self.prefs.tab_size
         for i in range(10):
             tabs.set_tab(i, pango.TAB_LEFT, i*tab_size*self.pango_char_width)
         for i in range(3):
Index: meldapp.py
===================================================================
--- meldapp.py	(révision 1153)
+++ meldapp.py	(copie de travail)
@@ -329,7 +329,7 @@
         # FIXME: ideally, we would use custom ellipsization that ellipsized the
         # two paths separately, but that requires significant changes to label
         # generation in many different parts of the code
-        label.set_ellipsize(pango.ELLIPSIZE_MIDDLE);
+        label.set_ellipsize(pango.ELLIPSIZE_MIDDLE)
         label.set_single_line_mode(True)
         label.set_alignment(0.0, 0.5)
         label.set_padding(0, 0)
Index: vc/monotone.py
===================================================================
--- vc/monotone.py	(révision 1153)
+++ vc/monotone.py	(copie de travail)
@@ -237,7 +237,7 @@
                 state = _vc.STATE_ERROR
                 print "WARNING: impossible state ('%s') reported by 'automate inventory' (version skew?)" % mstate
 
-            tree_state[os.path.join(self.root, fname)] = state;
+            tree_state[os.path.join(self.root, fname)] = state
 
         return tree_state
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]