changeset 2449:6ff30968f911

fix unused variable warning from pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 17 Jun 2006 18:15:48 +0200
parents c660691fb45d
children b93cab5ed776
files mercurial/sshrepo.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sshrepo.py	Thu Jun 15 17:07:30 2006 -0700
+++ b/mercurial/sshrepo.py	Sat Jun 17 18:15:48 2006 +0200
@@ -136,8 +136,7 @@
 
     def changegroup(self, nodes, kind):
         n = " ".join(map(hex, nodes))
-        f = self.do_cmd("changegroup", roots=n)
-        return self.pipei
+        return self.do_cmd("changegroup", roots=n)
 
     def unbundle(self, cg, heads, source):
         d = self.call("unbundle", heads=' '.join(map(hex, heads)))