meld r1257 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1257 - trunk
- Date: Thu, 12 Mar 2009 20:14:20 +0000 (UTC)
Author: vincele
Date: Thu Mar 12 20:14:20 2009
New Revision: 1257
URL: http://svn.gnome.org/viewvc/meld?rev=1257&view=rev
Log:
Put if/else back on multiple lines
Modified:
trunk/misc.py
Modified: trunk/misc.py
==============================================================================
--- trunk/misc.py (original)
+++ trunk/misc.py Thu Mar 12 20:14:20 2009
@@ -163,8 +163,10 @@
else:
if all_equal(basenames):
def firstpart(list):
- if len(list) > 1: return "[%s] " % list[0]
- else: return ""
+ if len(list) > 1:
+ return "[%s] " % list[0]
+ else:
+ return ""
roots = map(firstpart, paths)
base = basenames[0].strip()
return [ r+base for r in roots ]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]