From 80e06e5fc3b2ec0e862638852f2b786ed9b01424 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 14 Aug 2015 12:50:35 +0200 Subject: git-update: Remove superfluous assignment The pkgbase variable already contains the package base name at this point, no need to reassign it. Signed-off-by: Lukas Fleischer --- git-interface/git-update.py | 1 - 1 file changed, 1 deletion(-) (limited to 'git-interface') 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] -- cgit v1.2.3-70-g09d2