Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23863/util
Modified Files:
misc.py
Log Message:
do not skip after . for directories
Index: misc.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/misc.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** misc.py 8 Feb 2004 06:12:31 -0000 1.27
--- misc.py 13 Feb 2004 17:18:39 -0000 1.28
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.28 2004/02/13 17:18:39 dischi
+ # do not skip after . for directories
+ #
# Revision 1.27 2004/02/08 06:12:31 outlyer
# Missing the text... it looks like other shows are tomorrow, when they're
***************
*** 229,238 ****
! def getname(file):
"""
make a nicer display name from file
"""
# basename without ext
! if file.rfind('/') < file.rfind('.'):
name = file[file.rfind('/')+1:file.rfind('.')]
else:
--- 232,241 ----
! def getname(file, skip_ext=True):
"""
make a nicer display name from file
"""
# basename without ext
! if file.rfind('/') < file.rfind('.') and skip_ext:
name = file[file.rfind('/')+1:file.rfind('.')]
else:
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog