1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Typo in hg handling

This commit is contained in:
Daniel Martí 2014-01-20 16:14:00 +01:00
parent 5ac41e7ca7
commit b4b8b0d6a3

View File

@ -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):