mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
4bc6c55d98
commit
80e06e5fc3
1 changed files with 0 additions and 1 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue