[PATCH] Remove duplicated empty patch test
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list gnome org
- Subject: [PATCH] Remove duplicated empty patch test
- Date: Tue, 24 Feb 2009 23:59:54 +0100
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]