Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

status: use python-2.4 safe try: finally: syntax

Changeset 566d612c97e8

Parent e82a3dd94efa

by Steve Borho

Changes to one file · Browse files at 566d612c97e8 Showing diff from parent e82a3dd94efa Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
1065
1066
1067
1068
1069
1070
1071
 
 
 
 
 
1072
1073
1074
 
1065
1066
1067
 
 
 
 
1068
1069
1070
1071
1072
1073
1074
1075
@@ -1065,10 +1065,11 @@
  chunk.write(buf)   buf.seek(0)   try: - fp = open(result, "w") - fp.write(buf.read()) - except OSError: - pass + try: + fp = open(result, "w") + fp.write(buf.read()) + except OSError: + pass   finally:   fp.close()