Commits

Thejesh GN committed 25f25b3

add verify only flag

  • Participants
  • Parent commits a3314b7

Comments (0)

Files changed (1)

     'gnupg.flags': [],
     'openssl.path': 'openssl',
     'openssl.capath': '',
-    'openssl.certificate': ''
+    'openssl.certificate': '',
+    'verify_only':True
     }
 
 
         extra['signature'] = "%s:%s" % (scheme, signfunc(hex(h)))
         return orig(self, manifest, files, desc, transaction,
                     p1, p2, user, date, extra)
-
-    extensions.wrapfunction(changelog.changelog, 'add', add)
+    verify_only = CONFIG['verify_only']
+    if not verify_only:   
+        extensions.wrapfunction(changelog.changelog, 'add', add)
 
 cmdtable = {
     "verifysigs": (verifysigs,