hgext/gpg.py
changeset 10282 08a0f04b56bd
parent 10263 25e572394f5c
child 10394 4612cded5176
--- a/hgext/gpg.py	Mon Jan 25 00:05:22 2010 -0600
+++ b/hgext/gpg.py	Mon Jan 25 00:05:27 2010 -0600
@@ -38,8 +38,10 @@
         finally:
             for f in (sigfile, datafile):
                 try:
-                    if f: os.unlink(f)
-                except: pass
+                    if f:
+                        os.unlink(f)
+                except:
+                    pass
         keys = []
         key, fingerprint = None, None
         err = ""