diff tests/run-tests.py @ 16688:cfb6682961b8

cleanup: replace naked excepts with more specific ones
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:02:45 +0200
parents 6a7ce975edd6
children ac3e063eebf1
line wrap: on
line diff
--- a/tests/run-tests.py	Sat May 12 16:00:58 2012 +0200
+++ b/tests/run-tests.py	Sat May 12 16:02:45 2012 +0200
@@ -860,7 +860,7 @@
         tf = open(testpath)
         firstline = tf.readline().rstrip()
         tf.close()
-    except:
+    except IOError:
         firstline = ''
     lctest = test.lower()