[Zope-Checkins] CVS: Zope/ZServer/medusa - filesys.py:1.9.90.1

Andreas Jung andreas@digicool.com
Fri, 15 Feb 2002 13:44:23 -0500


Update of /cvs-repository/Zope/ZServer/medusa
In directory cvs.zope.org:/tmp/cvs-serv28088/ZServer/medusa

Modified Files:
      Tag: Zope-2_5-branch
	filesys.py 
Log Message:

      - FTP: Spaces in usernames inside a FTP file listing are now
        replaced by underscores to avoid confusion with some FTP clients.


=== Zope/ZServer/medusa/filesys.py 1.9 => 1.9.90.1 ===
             mode,
             stat_info[stat.ST_NLINK],
-            stat_info[stat.ST_UID],
-            stat_info[stat.ST_GID],
+            stat_info[stat.ST_UID].replace(' ','_'),
+            stat_info[stat.ST_GID].replace(' ','_'),
             stat_info[stat.ST_SIZE],
             date,
             file