Skip to content

Commit

Permalink
dnfdaemon: Unify wording of key import confirmation
Browse files Browse the repository at this point in the history
Use the same wording as dnf5 does.
  • Loading branch information
m-blaha committed Jun 21, 2023
1 parent 93b579e commit f203289
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dnf5daemon-client/callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ void DownloadCB::key_import(sdbus::Signal & signal) {
std::string url;
signal >> key_id >> user_ids >> fingerprint >> url;

std::cout << "Importing PGP key: " + key_id << std::endl;
std::cout << std::endl << "Importing PGP key 0x" + key_id << ":\n";
for (auto & user_id : user_ids) {
std::cout << " Userid : " + user_id << std::endl;
std::cout << " Userid : \"" + user_id << "\"\n";
}
std::cout << " Fingerprint: " + fingerprint << std::endl;
std::cout << " From : " + url << std::endl;
Expand All @@ -237,7 +237,6 @@ void DownloadCB::key_import(sdbus::Signal & signal) {
} catch (const sdbus::Error & ex) {
std::cerr << ex.what() << std::endl;
}
print();
}
}

Expand Down

0 comments on commit f203289

Please sign in to comment.