diff options
author | Sam James <sam@gentoo.org> | 2022-10-12 20:34:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-12 20:34:37 +0100 |
commit | 70486f7f37870796975ce228751fee68c64cfc88 (patch) | |
tree | e1cbf7155b0422e112a92fcb2ac3807d74ccff28 | |
parent | tatt/dot-tatt-spec: default to arch=amd64, not x86 (diff) | |
download | tatt-70486f7f37870796975ce228751fee68c64cfc88.tar.gz tatt-70486f7f37870796975ce228751fee68c64cfc88.tar.bz2 tatt-70486f7f37870796975ce228751fee68c64cfc88.zip |
scriptwriter.py: only query rdeps site if rdeps config > 0v0.9
No point fetching if we're not testing any.
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | tatt/scriptwriter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tatt/scriptwriter.py b/tatt/scriptwriter.py index 4d60e34..38437f5 100644 --- a/tatt/scriptwriter.py +++ b/tatt/scriptwriter.py @@ -120,7 +120,8 @@ def writerdepscript(job, config): for p in job.packageList: atom = p.packageCatName() pkgs.append(atom) - rdeps = rdeps + stablerdeps (atom, config) + if config['rdeps'] > 0: + rdeps = rdeps + stablerdeps (atom, config) if len(rdeps) == 0: print("No stable rdeps for " + job.name) return |