summaryrefslogtreecommitdiffstats
path: root/urpm/bug_report.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-01 10:47:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-01 10:47:51 +0000
commitd99173d6e61042d0ba9c4a6372c9e2a47d3bf942 (patch)
tree91dbcb3630e7fc7e18609cc7f758d1d311d56b4d /urpm/bug_report.pm
parent68fbc16b85fc22ad7c95922325748a2bc48fbdac (diff)
downloadurpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar
urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.gz
urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.bz2
urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.xz
urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.zip
simplify rpmdb_to_synthesis() prototype
Diffstat (limited to 'urpm/bug_report.pm')
-rw-r--r--urpm/bug_report.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm
index 6e243252..b01e9a94 100644
--- a/urpm/bug_report.pm
+++ b/urpm/bug_report.pm
@@ -5,9 +5,9 @@ use urpm::msg;
sub rpmdb_to_synthesis {
- my ($urpm, $synthesis, $root) = @_;
+ my ($urpm, $synthesis) = @_;
- my $db = urpm::db_open_or_die($urpm, $root);
+ my $db = urpm::db_open_or_die($urpm, $urpm->{root});
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;