~ubuntu-branches/debian/jessie/apper/jessie

« back to all changes in this revision

Viewing changes to PkSession/PkInstallMimeTypes.cpp

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2013-07-30 12:34:46 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130730123446-cgzujaj03pc61drn
Tags: 0.8.1-1
* New upstream release: 0.8.1
* Depend on software-properties-kde instead of suggesting it (Closes: #696583)
* Add patch to make AppStream loading more failsafe

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
    transaction->whatProvides(Transaction::ProvidesMimetype,
88
88
                              mimeTypes,
89
89
                              Transaction::FilterNotInstalled | Transaction::FilterArch | Transaction::FilterNewest);
90
 
    if (transaction->error()) {
 
90
    if (transaction->internalError()) {
91
91
        if (showWarning()) {
92
92
            setError(i18n("Failed to search for provides"),
93
 
                     PkStrings::daemonError(transaction->error()));
 
93
                     PkStrings::daemonError(transaction->internalError()));
94
94
        }
95
95
        sendErrorFinished(Failed, "Failed to search for provides");
96
96
    }