From effcb6adaab11ac8b7ae13f40a1c1b6c8e6de0f2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 9 Jul 2008 21:50:05 +0000 Subject: factorize --- urpm/parallel.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm/parallel.pm') 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; -- cgit v1.2.1