fix parsing repomd.xml twice
authorMichael Andres <ma@suse.de>
Fri, 11 Jul 2014 07:43:51 +0000 (09:43 +0200)
committerMichael Andres <ma@suse.de>
Fri, 11 Jul 2014 07:43:51 +0000 (09:43 +0200)
zypp/repo/yum/Downloader.cc

index 529f091..8ca42fc 100644 (file)
@@ -184,7 +184,6 @@ void Downloader::download( MediaSetAccess &media,
 
   this->reset();
 
-  Reader reader( dest_dir + repoInfo().path() + "/repodata/repomd.xml" );
   RepomdFileReader( dest_dir + repoInfo().path() + "/repodata/repomd.xml", bind( &Downloader::repomd_Callback, this, _1, _2));
 
   // ready, go!