summaryrefslogtreecommitdiffstats
path: root/urpm/parallel.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 21:50:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 21:50:05 +0000
commiteffcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2 (patch)
tree4f6f146ba30fcff3b2af0fc6921d4c4464387f81 /urpm/parallel.pm
parent5e5580094b37b43afbdb1816ae772237d33fa245 (diff)
downloadurpmi-effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2.tar
urpmi-effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2.tar.gz
urpmi-effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2.tar.bz2
urpmi-effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2.tar.xz
urpmi-effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2.zip
factorize
Diffstat (limited to 'urpm/parallel.pm')
-rw-r--r--urpm/parallel.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/parallel.pm b/urpm/parallel.pm
index 809a9391..f9030698 100644
--- a/urpm/parallel.pm
+++ b/urpm/parallel.pm
@@ -132,6 +132,8 @@ sub parse_urpme_output {
sub parse_urpmq_output {
my ($urpm, $state, $node, $s, $cont, $chosen, %options) = @_;
+ chomp $s;
+
if (my ($action, $what) = $s =~ /^\@([^\@]*)\@(.*)/) {
if ($action eq 'removing') {
$state->{rejected}{$what}{removed} = 1;