gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump/utils __init__.py
Date Fri, 30 Apr 2004 19:22:34 GMT
ajack       2004/04/30 12:22:34

  Modified:    python/gump/utils __init__.py
  Log:
  Escaping '.' to be '_' in safe name has too many side effects.
  Will fix the .html.html (when listing files) some other way.
  
  Revision  Changes    Path
  1.35      +1 -6      gump/python/gump/utils/__init__.py
  
  Index: __init__.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/utils/__init__.py,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- __init__.py	29 Apr 2004 17:00:43 -0000	1.34
  +++ __init__.py	30 Apr 2004 19:22:34 -0000	1.35
  @@ -31,12 +31,7 @@
   from gump.core.config import default, setting
   
   def gumpSafeName(name):
  -  """returns a file system safe name"""
  -  #
  -  # .html in a filename (e.g. x.html.xml) confuses forrest/cocoon.
  -  #
  -  name=name.replace('.','_')
  -  
  +  """returns a file system safe name"""  
     #
     return urllib.quote_plus(name)
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message