Revert "elif"

This reverts commit c3e047a2aa.
This commit is contained in:
Jack Robison 2018-04-19 14:34:49 -04:00
parent c3e047a2aa
commit 769bc2e36e
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -414,10 +414,11 @@ class Wallet(object):
def save_claim(self, claim_info):
if 'value' in claim_info:
yield self.storage.save_claim(claim_info)
elif 'certificate' in claim_info:
yield self.storage.save_claim(claim_info['certificate'])
elif 'claim' in claim_info:
yield self.storage.save_claim(claim_info['claim'])
else:
if 'certificate' in claim_info:
yield self.storage.save_claim(claim_info['certificate'])
if 'claim' in claim_info:
yield self.storage.save_claim(claim_info['claim'])
@defer.inlineCallbacks
def resolve(self, *uris, **kwargs):