Merge pull request #6323 from aresch/rpm_key_query_fix

Fix rpm_key on system with no gpg keys imported
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit 988f0c1646

@ -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:

Loading…
Cancel
Save