Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20692/util

Modified Files:
        misc.py 
Log Message:
better directory name building

Index: misc.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/misc.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** misc.py     7 Feb 2004 13:07:55 -0000       1.25
--- misc.py     7 Feb 2004 13:24:21 -0000       1.26
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.26  2004/02/07 13:24:21  dischi
+ # better directory name building
+ #
  # Revision 1.25  2004/02/07 13:07:55  dischi
  # fix unicode/encoding problem with sqlite
***************
*** 227,231 ****
      """
      # basename without ext
!     name = file[file.rfind('/')+1:file.rfind('.')]
      name = name[0].upper() + name[1:]
      
--- 230,237 ----
      """
      # basename without ext
!     if file.rfind('/') < file.rfind('.'):
!         name = file[file.rfind('/')+1:file.rfind('.')]
!     else:
!         name = file[file.rfind('/')+1:]
      name = name[0].upper() + name[1:]
      



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to