[Libreoffice-commits] core.git: wizards/com
Xisco Fauli
anistenis at gmail.com
Mon Feb 11 13:09:35 PST 2013
wizards/com/sun/star/wizards/common/FileAccess.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit bbe6f3f59b72cbb3917f43265c59d084bab7cf6a
Author: Xisco Fauli <anistenis at gmail.com>
Date: Mon Feb 11 22:08:54 2013 +0100
ups, don't delete this
Change-Id: I7a1ce167fcd388bc31a3f746ebaefd44949b5fb1
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py
index 409c15c..c695767 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.py
+++ b/wizards/com/sun/star/wizards/common/FileAccess.py
@@ -130,6 +130,8 @@ class FileAccess(object):
@classmethod
def getParentDir(self, url):
+ while url[-1] == "/":
+ url = url[:-1]
return url[:url.rfind("/")]
@classmethod
More information about the Libreoffice-commits
mailing list