I noticed :-)
On Dec 2, 2013 6:46 AM, "Harald Sitter" <[email protected]> wrote:

> On Thu, Nov 28, 2013 at 4:33 AM, Michael Stemle <[email protected]>
> wrote:
> > 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:  ""
>
> _config is a libapt-pkg object I suppose? if so I suggest reading
> their source code, IIRC the library is rather under documented and
> doesn't have the most obvious behavior at times.
>
> HS
>
> --
> kubuntu-devel mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
>
-- 
kubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to