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

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


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

Modified Files:
	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.10 ===
             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