diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-08-11 01:36:18 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-08-11 01:36:18 +0200 |
commit | 6b3ddbd059c403efeb40d81c29f2cae6e8f5b1bf (patch) | |
tree | 4f987650771f3209fdb7ede84be1458f4d9b560c /methods/cdrom.cc | |
parent | a1f3ac8aba0675321dd46d074af8abcbb10c19fd (diff) | |
parent | 0568d325ad8660a9966d552634aa17c90ed22516 (diff) |
Merge branch 'feature/methods'
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r-- | methods/cdrom.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc index 161822ac6..87a58e948 100644 --- a/methods/cdrom.cc +++ b/methods/cdrom.cc @@ -177,7 +177,7 @@ bool CDROMMethod::Fetch(FetchItem *Itm) URI Get = Itm->Uri; string File = Get.Path; - Debug = _config->FindB("Debug::Acquire::cdrom", false); + Debug = DebugEnabled(); if (Debug) clog << "CDROMMethod::Fetch " << Itm->Uri << endl; @@ -224,7 +224,7 @@ bool CDROMMethod::Fetch(FetchItem *Itm) return true; } - bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect", true); + bool const AutoDetect = ConfigFindB("AutoDetect", true); CDROM = _config->FindDir("Acquire::cdrom::mount"); if (Debug) clog << "Looking for CDROM at " << CDROM << endl; |