changeset 35869:c9faf3a2eef1

wireprotoserver: remove sshserver.getarg() AFAICT the last consumer of this helper method was removed by d054cc5c7737 in 2010. Differential Revision: https://phab.mercurial-scm.org/D1987
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 31 Jan 2018 11:19:47 -0800
parents 5a9ff8c20123
children f1efc0caeab7
files mercurial/wireprotoserver.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/wireprotoserver.py	Wed Jan 31 11:19:05 2018 -0800
+++ b/mercurial/wireprotoserver.py	Wed Jan 31 11:19:47 2018 -0800
@@ -282,9 +282,6 @@
                 data[arg] = val
         return [data[k] for k in keys]
 
-    def getarg(self, name):
-        return self.getargs(name)[0]
-
     def getfile(self, fpout):
         self.sendresponse('')
         count = int(self.fin.readline())