View | Details | Raw Unified | Return to bug 154343
Collapse All | Expand All

(-)zypp/source/SourceImpl.cc (-1 / +4 lines)
Lines 114-123 Link Here
114
114
115
      SourceFactory source_factory;
115
      SourceFactory source_factory;
116
116
117
      media::MediaAccessId _media;
117
      // get the mediaId, but don't try to attach it here
118
      media::MediaAccessId _media = _media_set->getMediaAccessId(media_nr, true);
118
      do {
119
      do {
119
        try {
120
        try {
120
	  DBG << "Going to try provide file " << file_r << " from " << media_nr << endl;
121
	  DBG << "Going to try provide file " << file_r << " from " << media_nr << endl;
122
	  
123
	  // try to attach the media
121
	  _media = _media_set->getMediaAccessId(media_nr); // in case of redirect
124
	  _media = _media_set->getMediaAccessId(media_nr); // in case of redirect
122
	  media_mgr.provideFile (_media, file_r, cached, checkonly);
125
	  media_mgr.provideFile (_media, file_r, cached, checkonly);
123
	  break;
126
	  break;

Return to bug 154343