diff options
Diffstat (limited to 'scripts/tatt')
-rwxr-xr-x | scripts/tatt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tatt b/scripts/tatt index c9fdbee..38192a3 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -154,6 +154,8 @@ if options.bugnum: if myJob.packageList==None: if response["cf_stabilisation_atoms"]: myJob.packageList = packageFinder.findPackages(response["cf_stabilisation_atoms"], config['arch']) + if len(myJob.packageList) == 0 and ("KEYWORDREQ" in response["keywords"] or response["component"] == "Keywording"): + myJob.packageList = packageFinder.findPackages(response["cf_stabilisation_atoms"], '~' + config['arch']) else: response = session.get(config["bugzilla-url"] + "/rest/bug/{}/attachment".format(options.bugnum), params=params).json()["bugs"][str(options.bugnum)] for attachment in response: |