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/02 00:30:42 UTC

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

Author: gstein
Date: Thu Mar  1 23:30:41 2012
New Revision: 1295990

URL: http://svn.apache.org/viewvc?rev=1295990&view=rev
Log:
Compatibility fix for Python 2.5.

* tools/server-side/svnpubsub/svnwcsub.py:
  (BackgroundWorker.__init__): use .setDaemon()

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=1295990&r1=1295989&r2=1295990&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Thu Mar  1 23:30:41 2012
@@ -334,7 +334,8 @@ class BackgroundWorker(threading.Thread)
         threading.Thread.__init__(self)
 
         # The main thread/process should not wait for this thread to exit.
-        self.daemon = True
+        ### compat with Python 2.5
+        self.setDaemon(True)
 
         self.svnbin = svnbin
         self.env = env