[SCM] Debian package checker branch, master, updated. 2.5.11-183-ge2e0f0a
The following commit has been merged in the master branch:
commit e2e0f0adcddc73cee2325caef236135d9d31759d
Author: Niels Thykier <niels@thykier.net>
Date: Sat Feb 23 21:55:12 2013 +0100
L::Unpacker: Break the wait loop if a task is waiting
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/lib/Lintian/Unpacker.pm b/lib/Lintian/Unpacker.pm
index 0ac017c..a7d43bc 100644
--- a/lib/Lintian/Unpacker.pm
+++ b/lib/Lintian/Unpacker.pm
@@ -494,10 +494,8 @@ sub process_tasks {
# If the entry is marked as failed, don't break the loop
# for it.
next if exists $failed{$procid};
- if ($cmap->selectable) {
- $nohang = 1;
- $active{$procid} = 1;
- }
+ $active{$procid} = 1 $cmap->selectable;
+ $nohang = 1 if %active;
}
# Stop when there are no running jobs and no new pending ones.
--
Debian package checker
Reply to: