summaryrefslogtreecommitdiffstats
path: root/urpm/xml_info.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-01 19:19:21 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-01 19:19:21 +0000
commit30e2a32f1b26b93d5d9aed310cb9be6f047a27d3 (patch)
treea9d4fd84d4cacf3b16d3a4d2cdeee15db1eec1f6 /urpm/xml_info.pm
parent6ffec4be6a0cf15824a48f639d6fe2a32de9d508 (diff)
downloadurpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar
urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.gz
urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.bz2
urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.xz
urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.zip
perl_checker cleanups
Diffstat (limited to 'urpm/xml_info.pm')
-rw-r--r--urpm/xml_info.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/xml_info.pm b/urpm/xml_info.pm
index 74869957..ca923ebc 100644
--- a/urpm/xml_info.pm
+++ b/urpm/xml_info.pm
@@ -134,7 +134,7 @@ sub _get_xml_info_nodes {
if ($fn =~ /$fullnames_re/) {
$nodes{$fn} = $get_node->($reader);
delete $todo{$fn};
- %todo == ();
+ keys(%todo) == 0;
} else {
$reader->next;
0;