From: Daniel Martí Date: Thu, 31 Oct 2013 16:35:13 +0000 (+0100) Subject: Forgot to actually use the real repotype variable X-Git-Tag: 0.1~252 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a218d2aff0b854e2d8d251e32b47f72e9535c6ef;p=fdroidserver.git Forgot to actually use the real repotype variable --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 0006d178..382d758c 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -159,17 +159,17 @@ def check_repomanifest(app, sdk_path, branch=None): # Set up vcs interface and make sure we have the latest code... vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path) - if vcs.repotype() == 'git': + if repotype == 'git': if branch: branch = 'origin/'+branch vcs.gotorevision(branch) - elif vcs.repotype() == 'git-svn': + elif repotype == 'git-svn': vcs.gotorevision(branch) - elif vcs.repotype() == 'svn': + elif repotype == 'svn': vcs.gotorevision(None) - elif vcs.repotype() == 'hg': + elif repotype == 'hg': vcs.gotorevision(branch) - elif vcs.repotype() == 'bzr': + elif repotype == 'bzr': vcs.gotorevision(None) flavour = None