meld r980 - trunk/vc
- From: stevek svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r980 - trunk/vc
- Date: Thu, 13 Mar 2008 19:44:47 +0000 (GMT)
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]