meld r980 - trunk/vc



Author: stevek
Date: Thu Mar 13 19:44:46 2008
New Revision: 980
URL: http://svn.gnome.org/viewvc/meld?rev=980&view=rev

Log:
Off by one cosmetic error. Bug 520179. Vincent Legoll

Modified:
   trunk/vc/_vc.py

Modified: trunk/vc/_vc.py
==============================================================================
--- trunk/vc/_vc.py	(original)
+++ trunk/vc/_vc.py	Thu Mar 13 19:44:46 2008
@@ -48,7 +48,7 @@
 class Dir(Entry):
     def __init__(self, path, name, state):
         self.path = path
-        self.parent, self.name = os.path.split(path[:-1])
+        self.parent, self.name = os.path.split(path.rstrip("/"))
         self.state = state
         self.isdir = 1
         self.rev = ""



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