Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dnfdaemon
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
manatools
dnfdaemon
Commits
8aeb4d4d
Commit
8aeb4d4d
authored
9 years ago
by
Tim Lauridsen
Browse files
Options
Downloads
Patches
Plain Diff
fix problems with gpgkey import
(fixes timlau/yumex-dnf#71)
parent
a6cf02d9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dnfdaemon/server/__init__.py
+5
-1
5 additions, 1 deletion
python/dnfdaemon/server/__init__.py
with
5 additions
and
1 deletion
python/dnfdaemon/server/__init__.py
+
5
−
1
View file @
8aeb4d4d
...
...
@@ -580,6 +580,7 @@ class DnfDaemonBase(dbus.service.Object, DownloadCallback):
msgs
=
[
str
(
e
)]
#print("DEBUG:", msgs)
except
GPGError
as
e
:
# GPG errors
rc
=
1
msgs
=
[
str
(
e
)]
#print("DEBUG:", msgs)
except
Error
as
e
:
# Other transaction errors
...
...
@@ -716,8 +717,11 @@ class DnfDaemonBase(dbus.service.Object, DownloadCallback):
continue
elif
result
==
1
:
# FIXME: Base.getKeyForPackage not public dnf api
try
:
self
.
base
.
getKeyForPackage
(
po
,
fullaskcb
=
self
.
_handle_gpg_import
)
except
dnf
.
exceptions
.
Error
as
e
:
raise
GPGError
(
str
(
e
))
else
:
raise
GPGError
(
errmsg
)
return
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment