diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-01 10:47:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-01 10:47:51 +0000 |
commit | d99173d6e61042d0ba9c4a6372c9e2a47d3bf942 (patch) | |
tree | 91dbcb3630e7fc7e18609cc7f758d1d311d56b4d | |
parent | 68fbc16b85fc22ad7c95922325748a2bc48fbdac (diff) | |
download | urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.gz urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.bz2 urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.tar.xz urpmi-d99173d6e61042d0ba9c4a6372c9e2a47d3bf942.zip |
simplify rpmdb_to_synthesis() prototype
-rw-r--r-- | urpm/bug_report.pm | 4 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 3 insertions, 3 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; @@ -388,7 +388,7 @@ urpm::media::configure($urpm, if ($bug) { require urpm::bug_report; - urpm::bug_report::rpmdb_to_synthesis($urpm, "$bug/rpmdb.cz", $urpm->{root}); + urpm::bug_report::rpmdb_to_synthesis($urpm, "$bug/rpmdb.cz"); } urpm::select::set_priority_upgrade_option($urpm, $options{previous_priority_upgrade}); |