Merge pull request #122 from zeronet-conservancy/from_enhanced
enhancements from zeronet-enhanced by @geekless
This commit is contained in:
commit
1d8aedce85
2 changed files with 5 additions and 3 deletions
|
@ -987,8 +987,10 @@ class ContentManager(object):
|
|||
raise VerifyError("Valid signs: %s/%s" % (valid_signs, signs_required))
|
||||
else:
|
||||
return self.verifyContent(inner_path, new_content)
|
||||
else: # Old style signing
|
||||
elif sign:
|
||||
raise VerifyError("Invalid old-style sign")
|
||||
else:
|
||||
raise VerifyError("Not signed")
|
||||
|
||||
except Exception as err:
|
||||
self.log.warning("%s: verify sign error: %s" % (inner_path, Debug.formatException(err)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue