[Zope-Checkins] CVS: Zope/lib/python/ZServer/medusa - filesys.py:1.13.8.1

Andreas Jung andreas at andreas-jung.com
Thu Jan 27 06:38:54 EST 2005


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

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

      - Collector #1648: Fix bug in Medusa FTP



=== Zope/lib/python/ZServer/medusa/filesys.py 1.13 => 1.13.8.1 ===
--- Zope/lib/python/ZServer/medusa/filesys.py:1.13	Tue Mar 18 16:15:16 2003
+++ Zope/lib/python/ZServer/medusa/filesys.py	Thu Jan 27 06:38:53 2005
@@ -392,8 +392,8 @@
     else:
         dirchar = '-'
     date = ls_date (long(time.time()), stat_info[stat.ST_MTIME])
-    user = str(stat_info[stat.ST_UID].replace(' ','_'))
-    group= str(stat_info[stat.ST_GID].replace(' ','_'))
+    user = str(stat_info[stat.ST_UID]).replace(' ','_')
+    group= str(stat_info[stat.ST_GID]).replace(' ','_')
     if user=='System_Processes': user='Sysproc'
     if group=='System_Processes': group='Sysproc'
 



More information about the Zope-Checkins mailing list