changeset 31414:279cbde7bf3d

gpg: use 'wvfs' instead of 'wfile' Method is about to be deprecated and the modern form is shorter.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 15 Mar 2017 00:28:21 -0700
parents aa797bd54f44
children 5d92107dfb9b
files hgext/gpg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/gpg.py	Wed Dec 28 23:42:50 2016 +0100
+++ b/hgext/gpg.py	Wed Mar 15 00:28:21 2017 -0700
@@ -281,7 +281,7 @@
             raise error.Abort(_("working copy of .hgsigs is changed "),
                              hint=_("please commit .hgsigs manually"))
 
-    sigsfile = repo.wfile(".hgsigs", "ab")
+    sigsfile = repo.wvfs(".hgsigs", "ab")
     sigsfile.write(sigmessage)
     sigsfile.close()