Commit 8d3e2fe7 by Michael DeHaan

Merge pull request #6323 from aresch/rpm_key_query_fix

Fix rpm_key on system with no gpg keys imported
parents 1211160c a45bfbe0
......@@ -170,7 +170,7 @@ class RpmKey:
return stdout, stderr
def is_key_imported(self, keyid):
stdout, stderr = self.execute_command([self.rpm, '-q', 'gpg-pubkey'])
stdout, stderr = self.execute_command([self.rpm, '-qa', 'gpg-pubkey'])
for line in stdout.splitlines():
line = line.strip()
if not line:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment