summaryrefslogtreecommitdiffstats
path: root/urpm/xml_info.pm
diff options
context:
space:
mode:
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;