subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1380282 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
Date Mon, 03 Sep 2012 16:09:35 GMT
Author: danielsh
Date: Mon Sep  3 16:09:35 2012
New Revision: 1380282

URL: http://svn.apache.org/viewvc?rev=1380282&view=rev
Log:
[in tools/server-side/svnpubsub]

* svnwcsub.py
  (BackgroundWorker._update): Use the correct exception class.

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=1380282&r1=1380281&r2=1380282&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Mon Sep  3 16:09:35 2012
@@ -258,7 +258,7 @@ class BackgroundWorker(threading.Thread)
         dotrevision = os.path.join(wc.path, '.revision') 
         try:
             os.unlink(dotrevision)
-        except IOError, e:
+        except OSError, e:
             if e.errno != errno.ENOENT:
                 raise
         open(dotrevision, 'w').write(info['Revision'])



Mime
View raw message