diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-16 20:18:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-16 20:18:00 +0000 |
commit | 8934ed0e04131f8ee2bf97e11f109fe039d079cb (patch) | |
tree | fab48a326239e9deebcdcdb606f36d68dade3af6 | |
parent | 87b0368d514ed079b40af86655e3d4fa479ad55b (diff) | |
download | urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.gz urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.bz2 urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.xz urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.zip |
enforce GC' style
-rw-r--r-- | urpm.pm | 2 | ||||
-rwxr-xr-x | urpmq | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ sub db_open_or_die_ { my $db; if ($urpm->{env_rpmdb}) { #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB. - $db = new URPM; + $db = URPM->new; $db->parse_synthesis($urpm->{env_rpmdb}); } else { $db = db_open_or_die($urpm, $urpm->{root}, $b_write_perm); @@ -380,7 +380,7 @@ if ($options{list_aliases}) { ! defined $state->{selected}{$_} } keys %{$state->{selected}}}; } elsif ($options{deps}) { #- only deps required. - my $empty_db = new URPM; #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB. + my $empty_db = URPM->new; #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB. $urpm->resolve_requested($empty_db, $state, \%requested, no_suggests => $urpm->{options}{'no-suggests'}, callback_choices => $stop_on_choices, nodeps => 1); |