Log message for revision 30708:
  explain what is going on for a pair of calls to umask();
  the pattern is not obvious to everyone
  

Changed:
  U   zdaemon/trunk/zdctl.py

-=-
Modified: zdaemon/trunk/zdctl.py
===================================================================
--- zdaemon/trunk/zdctl.py      2005-06-09 14:46:36 UTC (rev 30707)
+++ zdaemon/trunk/zdctl.py      2005-06-09 14:52:39 UTC (rev 30708)
@@ -370,6 +370,7 @@
         print "user:        ", repr(self.options.user)
         umask = self.options.umask
         if not umask:
+            # Here we're just getting the current umask so we can report it:
             umask = os.umask(0777)
             os.umask(umask)
         print "umask:       ", oct(umask)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to