libapt-pkg - _config->FindFile("Dir::Etc::sourcelist") returns empty std::string

Michael Stemle themanchicken at gmail.com
Thu Nov 28 03:33:26 UTC 2013


Hey all, does anybody know under what circumstances
`_config->FindFile("Dir::Etc::sourcelist")` would return an empty
std::string?

I have this line:

qDebug() << "sources.list: " <<
QString::fromStdString(_config->FindFile("Dir::Etc::sourcelist"));

which outputs (from SourcesListTest::testConstructor):

QDEBUG : SourcesListTest::testConstructor() sources.list:  ""

Much thanks.

-- 
~ Michael D. Stemle, Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20131127/bc1aa63e/attachment.html>


More information about the kubuntu-devel mailing list