SF.net SVN: fclient:[750] trunk/fclient/src/fclient/lib/compactpath
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-26 09:14:44
|
Revision: 750
http://fclient.svn.sourceforge.net/fclient/?rev=750&view=rev
Author: jUrner
Date: 2008-07-26 09:14:50 +0000 (Sat, 26 Jul 2008)
Log Message:
-----------
fix misplaced ellipsis
Modified Paths:
--------------
trunk/fclient/src/fclient/lib/compactpath/README
trunk/fclient/src/fclient/lib/compactpath/compactpath.py
Modified: trunk/fclient/src/fclient/lib/compactpath/README
===================================================================
--- trunk/fclient/src/fclient/lib/compactpath/README 2008-07-25 22:41:24 UTC (rev 749)
+++ trunk/fclient/src/fclient/lib/compactpath/README 2008-07-26 09:14:50 UTC (rev 750)
@@ -6,6 +6,15 @@
Version history
#*******************************************************************
+compactpath 0.5.1
+#********************************************************************
+news:
+
+
+fixes:
+ x. elllipsis was misplaced in some cases
+
+#*******************************************************************
compactpath 0.5.0
#********************************************************************
release: 06/15/2008
Modified: trunk/fclient/src/fclient/lib/compactpath/compactpath.py
===================================================================
--- trunk/fclient/src/fclient/lib/compactpath/compactpath.py 2008-07-25 22:41:24 UTC (rev 749)
+++ trunk/fclient/src/fclient/lib/compactpath/compactpath.py 2008-07-26 09:14:50 UTC (rev 750)
@@ -159,7 +159,7 @@
tail = ellipsis + tail
n = len(tail) - 1
elif head:
- tail = path_module.join(head, tail, ellipsis=ellipsis)
+ tail = path_module.join(head, tail)
n = len(tail)
else:
n = len(tail)
@@ -167,7 +167,7 @@
while tail:
if measure(tail) < w:
return tail
- tail = rtrunc(n, tail)
+ tail = rtrunc(n, tail, ellipsis=ellipsis)
n -= 1
return ''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|