diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2017-11-05 13:02:43 +0100 |
---|---|---|
committer | kensington <kensington@gentoo.org> | 2017-11-06 00:35:22 +1100 |
commit | 3d0cd5ad956bff297984f35380e3e32148523cb5 (patch) | |
tree | 957fd2910179824bf51cc7d2006862406f19d8f3 /tatt | |
parent | use portage API to skip already stable packages (diff) | |
download | tatt-3d0cd5ad956bff297984f35380e3e32148523cb5.tar.gz tatt-3d0cd5ad956bff297984f35380e3e32148523cb5.tar.bz2 tatt-3d0cd5ad956bff297984f35380e3e32148523cb5.zip |
fix printing out message about cut rdeps
The previous loop would step when the maximum number of allowed rdeps is
reached, so this check can never be true. Test if there are remaining entries
in the original list instead.
Diffstat (limited to 'tatt')
-rw-r--r-- | tatt/tinderbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tatt/tinderbox.py b/tatt/tinderbox.py index 39f57ec..5875008 100644 --- a/tatt/tinderbox.py +++ b/tatt/tinderbox.py @@ -80,7 +80,7 @@ def stablerdeps (package, config): if out == '': continue else : outlist.append(samp) - if len(outlist) > config['rdeps']: + if len(outlist2) > 0: print("More than " + config['rdeps'] + " stable rdeps, took a sample. \n") return outlist ############################# |