(self, uuid)
return None
Search our terminals for one matching the supplied UUID
Search our terminals for one matching the supplied UUID
Search our terminals for one matching the supplied UUID
def find_terminal_by_uuid(self, uuid):
        """Search our terminals for one matching the supplied UUID"""
        dbg('searching self.terminals for: %s' % uuid)
        for terminal in self.terminals:
            dbg('checking: %s (%s)' % (terminal.uuid.urn, terminal))
            if terminal.uuid.urn == uuid:
                return terminal
        return None
def find_terminal_by_uuid ( self , uuid ) : dbg ( 'searching self.terminals for: %s' % uuid ) for terminal in self . terminals : dbg ( 'checking: %s (%s)' % ( terminal . uuid . urn , terminal ) ) if terminal . uuid . urn == uuid : return terminal return None