meld r1315 - trunk



Author: vincele
Date: Wed Apr  1 23:08:47 2009
New Revision: 1315
URL: http://svn.gnome.org/viewvc/meld?rev=1315&view=rev

Log:
Remove unused "dirs" variable, spotted by pylint


Modified:
   trunk/vcview.py

Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py	(original)
+++ trunk/vcview.py	Wed Apr  1 23:08:47 2009
@@ -524,7 +524,7 @@
         it = self.find_iter_by_name(filename)
         if it:
             path = self.model.value_path(it, 0)
-            dirs, files = self.vc.lookup_files( [], [ (os.path.basename(path), path)] )
+            files = self.vc.lookup_files([], [(os.path.basename(path), path)])[1]
             for e in files:
                 if e.path == path:
                     prefixlen = 1 + len( self.model.value_path( self.model.get_iter_root(), 0 ) )



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