diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tinderbox/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py index 62aebbb..ab88c4e 100644 --- a/src/tinderbox/__init__.py +++ b/src/tinderbox/__init__.py @@ -345,14 +345,15 @@ class Tinderbox(object): max_dep_versions = len(depversions) for dep in deps_expanded: - while len(dep) < max_dep_versions: - print dep + while len(dep) != 0 and len(dep) < max_dep_versions: dep.append(dep[0]) result = [] for i in range(max_dep_versions): group = [] for dep in deps_expanded: + if 0 == len(dep): + continue group.append(dep.pop()) result.append(group) return result |