hgext/gpg.py
changeset 14168 135e244776f0
parent 13400 14f3795a5ed7
child 14299 f3ba4125d9e9
--- a/hgext/gpg.py	Mon May 02 10:11:05 2011 +0200
+++ b/hgext/gpg.py	Mon May 02 10:11:18 2011 +0200
@@ -234,7 +234,7 @@
 
     # write it
     if opts['local']:
-        repo.opener("localsigs", "ab").write(sigmessage)
+        repo.opener.append("localsigs", sigmessage)
         return
 
     msigs = match.exact(repo.root, '', ['.hgsigs'])