[Compactpath-commit] SF.net SVN: compactpath: [10] trunk/src/compactpath/compactpath.py
Status: Beta
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-06-18 07:35:36
|
Revision: 10
http://compactpath.svn.sourceforge.net/compactpath/?rev=10&view=rev
Author: jurner
Date: 2008-06-18 00:35:33 -0700 (Wed, 18 Jun 2008)
Log Message:
-----------
whitespace
Modified Paths:
--------------
trunk/src/compactpath/compactpath.py
Modified: trunk/src/compactpath/compactpath.py
===================================================================
--- trunk/src/compactpath/compactpath.py 2008-06-18 07:30:53 UTC (rev 9)
+++ trunk/src/compactpath/compactpath.py 2008-06-18 07:35:33 UTC (rev 10)
@@ -50,7 +50,6 @@
n = len(chars)
if n < 0:
n = 0
-
x = len(ellipsis) - n
if x < 0:
x = 0
@@ -93,7 +92,6 @@
n = len(chars)
if n < 0:
n = 0
-
e = ellipsis[:n]
return chars[ :n - len(e)] + e
@@ -142,7 +140,6 @@
'..'
'.'
''
-
"""
if measure(fpath) < w:
return fpath
@@ -178,7 +175,6 @@
#************************************************************************************************
#
#************************************************************************************************
-
if __name__ == '__main__':
import doctest
print 'doctests failed: %s/%s' % doctest.testmod()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|