Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv2832

Modified Files:
        misc.py 
Log Message:
Hyphenated words and abbreviations should be upper case in a title.


Index: misc.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/misc.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** misc.py     26 Oct 2003 17:57:26 -0000      1.3
--- misc.py     8 Nov 2003 23:15:42 -0000       1.4
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.4  2003/11/08 23:15:42  outlyer
+ # Hyphenated words and abbreviations should be upper case in a title.
+ #
  # Revision 1.3  2003/10/26 17:57:26  dischi
  # do not use tmp as default
***************
*** 233,237 ****
      s = ''
      for letter in phrase:
!         if s and s[-1] == ' ' or s == '':
              s += string.upper(letter)
          elif letter == '_':
--- 236,240 ----
      s = ''
      for letter in phrase:
!         if s and s[-1] == ' ' or s == '' or s[-1] == '-' or s[-1] == '.':
              s += string.upper(letter)
          elif letter == '_':




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to