From b4b8b0d6a38b7ab1ef9e88fc642de5eb96f85238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 20 Jan 2014 16:14:00 +0100 Subject: [PATCH] Typo in hg handling --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index f3dbe278..0a1b295e 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -564,7 +564,7 @@ class vcs_hg(vcs): myfile.write("\n[extensions]\nhgext.purge=\n") if subprocess.call(['hg', 'purge', '--all'], cwd=self.local) != 0: raise VCSException("HG purge failed") - elif p.resultcode != 0: + elif p.returncode != 0: raise VCSException("HG purge failed") def gettags(self):