[Zope-Checkins] SVN: Zope/trunk/ - Collector #1648: Fix bug in Medusa FTP

Andreas Jung andreas at andreas-jung.com
Thu Jan 27 06:39:58 EST 2005


Log message for revision 28962:
  
        - Collector #1648: Fix bug in Medusa FTP
  
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/ZServer/medusa/filesys.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2005-01-26 17:21:44 UTC (rev 28961)
+++ Zope/trunk/doc/CHANGES.txt	2005-01-27 11:39:48 UTC (rev 28962)
@@ -51,6 +51,8 @@
 
     Bugs fixed
 
+      - Collector #1648: Fix bug in Medusa FTP
+
       - Collector #1667: allow 'max-number-of-session-objects 0' to have
         the same effect as setting the value via the web interface (i.e.,
         make the number of session objects unlimited, rather than falling

Modified: Zope/trunk/lib/python/ZServer/medusa/filesys.py
===================================================================
--- Zope/trunk/lib/python/ZServer/medusa/filesys.py	2005-01-26 17:21:44 UTC (rev 28961)
+++ Zope/trunk/lib/python/ZServer/medusa/filesys.py	2005-01-27 11:39:48 UTC (rev 28962)
@@ -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