fix writeSignedRPM signature
This commit is contained in:
parent
ba8f5c9587
commit
fcd7b57e39
1 changed files with 1 additions and 2 deletions
|
|
@ -8320,9 +8320,8 @@ class RootExports(object):
|
|||
return headers
|
||||
|
||||
queryRPMSigs = staticmethod(query_rpm_sigs)
|
||||
writeSignedRPM = staticmethod(write_signed_rpm)
|
||||
|
||||
def writeSignedRPM(an_rpm, sigkey, force=False):
|
||||
def writeSignedRPM(self, an_rpm, sigkey, force=False):
|
||||
"""Write a signed copy of the rpm"""
|
||||
context.session.assertPerm('sign')
|
||||
#XXX - still not sure if this is the right restriction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue