diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-18 17:29:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-18 17:29:43 +0000 |
commit | b09c43a186b1e6872bc08d4c313d804cfee8ce28 (patch) | |
tree | b1439d84e8b1a798e08af9a01508b459285d9776 | |
parent | 02844e0889507556869b27a8329f7f79e5c789b0 (diff) | |
download | rpmdrake-b09c43a186b1e6872bc08d4c313d804cfee8ce28.tar rpmdrake-b09c43a186b1e6872bc08d4c313d804cfee8ce28.tar.gz rpmdrake-b09c43a186b1e6872bc08d4c313d804cfee8ce28.tar.bz2 rpmdrake-b09c43a186b1e6872bc08d4c313d804cfee8ce28.tar.xz rpmdrake-b09c43a186b1e6872bc08d4c313d804cfee8ce28.zip |
(get_new_deps) do not open RPM DB when it's already open
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 92e9684e..ee2618a7 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -236,7 +236,7 @@ sub get_new_deps { $db, $state, { $upkg->id => 1 }, ); - @requested = $urpm->resolve_requested_suggests(open_rpm_db(), $state, \@requested); + @requested = $urpm->resolve_requested_suggests($db, $state, \@requested); undef $db; my @nodes_with_deps = map { urpm_name($_) } @requested; my @deps = sort { $a cmp $b } difference2(\@nodes_with_deps, [ urpm_name($upkg) ]); |