16 Aug
2015
16 Aug
'15
4:50 a.m.
The pkgbase variable already contains the package base name at this point, no need to reassign it. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> --- git-interface/git-update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index de6ceb4..8e69505 100755 --- a/git-interface/git-update.py +++ b/git-interface/git-update.py @@ -286,7 +286,6 @@ srcinfo_pkgbase = srcinfo._pkgbase['pkgname'] if srcinfo_pkgbase != pkgbase: die('invalid pkgbase: {:s}, expected {:s}'.format(srcinfo_pkgbase, pkgbase)) -pkgbase = srcinfo._pkgbase['pkgname'] cur.execute("SELECT ID FROM PackageBases WHERE Name = %s", [pkgbase]) pkgbase_id = cur.fetchone()[0] -- 2.5.0