subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1299079 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
Date Fri, 09 Mar 2012 22:34:55 GMT
Author: gstein
Date: Fri Mar  9 22:34:55 2012
New Revision: 1299079

URL: http://svn.apache.org/viewvc?rev=1299079&view=rev
Log:
Whoops. Fix reference to umask.

* tools/server-side/svnpubsub/svnwcsub.py:
  (Daemon.run): should be self.umask, not options.umask

Modified:
    subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Modified: subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py?rev=1299079&r1=1299078&r2=1299079&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Fri Mar  9 22:34:55 2012
@@ -341,7 +341,7 @@ class Daemon(daemonize.Daemon):
         # daemonized processes. Foreground processes simply inherit
         # the value from the parent process.
         if self.umask is not None:
-            umask = int(options.umask, 8)
+            umask = int(self.umask, 8)
             os.umask(umask)
             logging.info('umask set to %03o', umask)
 



Mime
View raw message