Update of /cvsroot/mailman/mailman/Mailman/MTA
In directory usw-pr-cvs1:/tmp/cvs-serv9830/Mailman/MTA
Modified Files:
Postfix.py
Log Message:
checkperms(): 'mode' -> 'stat[ST_MODE]'.
Slight style nit, too: code is using 'oct()' to convert mode to a string,
instead of a '0%(mode)o' format. Changing this to make more sense would
break translations, though :P
Index: Postfix.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MTA/Postfix.py,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -r2.5 -r2.6
*** Postfix.py 2001/05/22 21:02:51 2.5
--- Postfix.py 2001/07/10 12:16:53 2.6
***************
*** 233,237 ****
if state.FIX:
print _('(fixing)')
! os.chmod(DBFILE, mode | targetmode)
else:
print
--- 233,237 ----
if state.FIX:
print _('(fixing)')
! os.chmod(DBFILE, stat[ST_MODE] | targetmode)
else:
print
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins