pymensago/keycard.py
def verify(self) -> RetVal:
		'''Verifies the card's entire chain of entries'''
		
		if len(self.entries) == 0:
			return RetVal(ErrNotFound, 'keycard contains no entries')
		
		if len(self.entries) == 1:
			return RetVal()
		
		for i in range(len(self.entries) - 1):
			status = self.entries[i + 1].verify_chain(self.entries[i])
			if status.error():
				return status

		return RetVal()
Verifies the card's entire chain of entries
Verifies the card's entire chain of entries
Verifies the card ' s entire chain of entries
def verify(self) -> RetVal:
		if len(self.entries) == 0:
			return RetVal(ErrNotFound, 'keycard contains no entries')
		if len(self.entries) == 1:
			return RetVal()
		for i in range(len(self.entries) - 1):
			status = self.entries[i + 1].verify_chain(self.entries[i])
			if status.error():
				return status
		return RetVal()
def verify ( self ) -> RetVal : if len ( self . entries ) == 0 : return RetVal ( ErrNotFound , 'keycard contains no entries' ) if len ( self . entries ) == 1 : return RetVal ( ) for i in range ( len ( self . entries ) - 1 ) : status = self . entries [ i + 1 ] . verify_chain ( self . entries [ i ] ) if status . error ( ) : return status return RetVal ( )
Verifies the card's entire chain of entries
Verifies the card ' s entire chain of entries
'''Verifies the card's entire chain of entries'''
self