commit:     0c0c7c098f18234c4ebdec93c1799b16e8b26cd0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 02:47:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 02:47:20 2021 +0000
URL:        https://gitweb.gentoo.org/proj/tatt.git/commit/?id=0c0c7c09

scripts/tatt: drop invalid ~ prefix to arch

Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/tatt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

Reply via email to