meld r1200 - trunk
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1200 - trunk
- Date: Mon, 2 Mar 2009 21:13:29 +0000 (UTC)
Author: vincele
Date: Mon Mar 2 21:13:29 2009
New Revision: 1200
URL: http://svn.gnome.org/viewvc/meld?rev=1200&view=rev
Log:
Remove unused variable by using os.path.basename() instead of os.path.split()
Modified:
trunk/dirdiff.py
Modified: trunk/dirdiff.py
==============================================================================
--- trunk/dirdiff.py (original)
+++ trunk/dirdiff.py Mon Mar 2 21:13:29 2009
@@ -1013,7 +1013,7 @@
for component in changed:
child = model.iter_children( it )
while child:
- leading, name = os.path.split( model.value_path(child, pane) )
+ name = os.path.basename(model.value_path(child, pane))
if component == name : # found it
it = child
break
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]