hgext/gpg.py
changeset 16688 cfb6682961b8
parent 14299 f3ba4125d9e9
child 16743 38caf405d010
--- a/hgext/gpg.py	Sat May 12 16:00:58 2012 +0200
+++ b/hgext/gpg.py	Sat May 12 16:02:45 2012 +0200
@@ -43,7 +43,7 @@
                 try:
                     if f:
                         os.unlink(f)
-                except:
+                except OSError:
                     pass
         keys = []
         key, fingerprint = None, None