The show_patch method is only called with a
non-empty patch, so remove the useless code

-- 
Vincent Legoll
Index: vcview.py
===================================================================
--- vcview.py	(revision 1178)
+++ vcview.py	(working copy)
@@ -443,8 +443,6 @@
         self._open_files(self._get_selected_files())
 
     def show_patch(self, prefix, patch):
-        if not patch: return
-
         tmpdir = tempfile.mkdtemp("-meld")
         self.tempdirs.append(tmpdir)
 
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to