summaryrefslogtreecommitdiffstats
path: root/git-interface
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-08-14 12:50:35 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-14 12:50:35 +0200
commit80e06e5fc3b2ec0e862638852f2b786ed9b01424 (patch)
treeed32fc1ec02ecbb4b2b7b0d6d41839a0c5a3eb4c /git-interface
parent4bc6c55d988e508613afafbb7f8173cf1ed3270f (diff)
downloadaurweb-80e06e5fc3b2ec0e862638852f2b786ed9b01424.tar.xz
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 <lfleischer@archlinux.org>
Diffstat (limited to 'git-interface')
-rwxr-xr-xgit-interface/git-update.py1
1 files changed, 0 insertions, 1 deletions
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]