aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-10 02:47:20 +0000
committerSam James <sam@gentoo.org>2021-02-10 02:47:20 +0000
commit0c0c7c098f18234c4ebdec93c1799b16e8b26cd0 (patch)
treeaa0fddf093c9329366ca387f8c0d33b239fafae3
parenttatt: Support file-only jobs via Nattka (diff)
downloadtatt-0c0c7c098f18234c4ebdec93c1799b16e8b26cd0.tar.gz
tatt-0c0c7c098f18234c4ebdec93c1799b16e8b26cd0.tar.bz2
tatt-0c0c7c098f18234c4ebdec93c1799b16e8b26cd0.zip
scripts/tatt: drop invalid ~ prefix to arch
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xscripts/tatt2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tatt b/scripts/tatt
index 463e737..7524c8b 100755
--- a/scripts/tatt
+++ b/scripts/tatt
@@ -168,7 +168,7 @@ if options.bugnum:
if response["cf_stabilisation_atoms"]:
myJob.packageList = packageFinder.findPackages(response["cf_stabilisation_atoms"], config['arch'], get_repo_dir(config['repodir']), options.bugnum)
if len(myJob.packageList) == 0 and ("KEYWORDREQ" in response["keywords"] or response["component"] == "Keywording"):
- myJob.packageList = packageFinder.findPackages(response["cf_stabilisation_atoms"], '~' + config['arch'], get_repo_dir(config['repodir']), options.bugnum)
+ myJob.packageList = packageFinder.findPackages(response["cf_stabilisation_atoms"], config['arch'], get_repo_dir(config['repodir']), options.bugnum)
else:
response = session.get(config["bugzilla-url"] + "/rest/bug/{}/attachment".format(options.bugnum), params=params).json()["bugs"][str(options.bugnum)]
for attachment in response: