From fd4817af55651f5f273e7ad9cace8000bbe061f7 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Mon, 13 Mar 2006 16:20:05 +0000 Subject: [PATCH] - Moved info message to the begin of the constructor --- zypp/media/MediaCD.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zypp/media/MediaCD.cc b/zypp/media/MediaCD.cc index e8e091e..4831fce 100644 --- a/zypp/media/MediaCD.cc +++ b/zypp/media/MediaCD.cc @@ -59,6 +59,9 @@ namespace zypp { //, does_download , _lastdev(-1) { + MIL << "MediaCD::MediaCD(" << url_r << ", " + << attach_point_hint_r << ")" << endl; + if( url_r.getScheme() != "dvd" && url_r.getScheme() != "cd") { ERR << "Unsupported schema in the Url: " << url_r.asString() @@ -66,8 +69,6 @@ namespace zypp { ZYPP_THROW(MediaUnsupportedUrlSchemeException(_url)); } - MIL << "MediaCD::MediaCD(" << url_r << ", " << attach_point_hint_r << ")" << endl; - DeviceList detected( detectDevices( url_r.getScheme() == "dvd" ? true : false )); -- 2.7.4