From 5f3656c43f20194c6096afd9d623a5b24146041b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 7 Dec 2011 04:23:02 -0400 Subject: [PATCH] Call the correct gpg method --- apps/documents/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documents/models.py b/apps/documents/models.py index 90f7e6912e..25cb703d22 100644 --- a/apps/documents/models.py +++ b/apps/documents/models.py @@ -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: