Call the correct gpg method

This commit is contained in:
Roberto Rosario
2011-12-07 04:23:02 -04:00
parent 6bf8a3df10
commit 5f3656c43f

View File

@@ -470,7 +470,7 @@ class DocumentVersion(models.Model):
def update_signed_state(self, save=True):
if self.exists():
try:
self.signature_state = gpg.verify(self.open()).status
self.signature_state = gpg.verify_file(self.open()).status
# TODO: give use choice for auto public key fetch?
# OR maybe new config option
except GPGVerificationError: