summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-16 20:18:00 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-16 20:18:00 +0000
commit8934ed0e04131f8ee2bf97e11f109fe039d079cb (patch)
treefab48a326239e9deebcdcdb606f36d68dade3af6 /urpm.pm
parent87b0368d514ed079b40af86655e3d4fa479ad55b (diff)
downloadurpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar
urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.gz
urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.bz2
urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.tar.xz
urpmi-8934ed0e04131f8ee2bf97e11f109fe039d079cb.zip
enforce GC' style
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 82c697ca..c0bcbc32 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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);