hgext/convert/monotone.py
changeset 16688 cfb6682961b8
parent 16687 e34106fa0dc3
child 16689 f366d4c2ff34
--- a/hgext/convert/monotone.py	Sat May 12 16:00:58 2012 +0200
+++ b/hgext/convert/monotone.py	Sat May 12 16:02:45 2012 +0200
@@ -30,7 +30,7 @@
                 f = file(path, 'rb')
                 header = f.read(16)
                 f.close()
-            except:
+            except IOError:
                 header = ''
             if header != 'SQLite format 3\x00':
                 raise norepo