Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11568 - /trunk/libzypp/zypp/MediaSetAccess.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Tue, 04 Nov 2008 12:20:52 -0000
  • Message-id: <20081104122052.887202372E@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Tue Nov 4 13:20:52 2008
New Revision: 11568

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11568&view=rev
Log:
- handle MediaTimeoutException also in MediaSetAccess::provideFile()
(bnc #439983)

Modified:
trunk/libzypp/zypp/MediaSetAccess.cc

Modified: trunk/libzypp/zypp/MediaSetAccess.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/MediaSetAccess.cc?rev=11568&r1=11567&r2=11568&view=diff
==============================================================================
--- trunk/libzypp/zypp/MediaSetAccess.cc (original)
+++ trunk/libzypp/zypp/MediaSetAccess.cc Tue Nov 4 13:20:52 2008
@@ -314,6 +314,10 @@
{
reason = media::MediaChangeReport::WRONG;
}
+ else if( typeid(excp) == typeid( media::MediaTimeoutException))
+ {
+ reason = media::MediaChangeReport::IO_SOFT;
+ }

// checkonly: only bother the user if wrong medium is in the drive
if (checkonly && reason != media::MediaChangeReport::WRONG)

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages