You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2012/03/09 23:34:55 UTC

svn commit: r1299079 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

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)