summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-21 22:09:56 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-21 22:09:56 +0000
commit947187d0b70ecfe130a853557c905e49e43e43a3 (patch)
treedb6d5a170dc98198ad50c31e3c7b66d2b578d89f /mdkapplet
parenta81121ba8150faea990976d28015a00d0756fe57 (diff)
downloadmgaonline-947187d0b70ecfe130a853557c905e49e43e43a3.tar
mgaonline-947187d0b70ecfe130a853557c905e49e43e43a3.tar.gz
mgaonline-947187d0b70ecfe130a853557c905e49e43e43a3.tar.bz2
mgaonline-947187d0b70ecfe130a853557c905e49e43e43a3.tar.xz
mgaonline-947187d0b70ecfe130a853557c905e49e43e43a3.zip
(silentCheck) do not needlessly create a new urpm object
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet1
1 files changed, 0 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 42d2c793..523d3951 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -369,7 +369,6 @@ sub silentCheck() {
use urpm; # to force require
require urpm::select;
require urpm::media;
- $urpm = urpm->new;
urpm::media::configure($urpm);
my @update_medias = grep { $_->{update} } @{$urpm->{media}};
if (!@update_medias) {