Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: correct the exception type for shutil.rmtree()

a WindowsError derives from OSError, not IOError

Changeset 1858f56be83e

Parent 7b26ff23c387

by Steve Borho

Changes to one file · Browse files at 1858f56be83e Showing diff from parent 7b26ff23c387 Diff from another changeset...

 
1005
1006
1007
1008
 
1009
1010
1011
 
1005
1006
1007
 
1008
1009
1010
1011
@@ -1005,7 +1005,7 @@
  def cleanup():   try:   shutil.rmtree(self.bundledir) - except IOError: + except OSError:   pass     if not self.bundledir: