(self)
Return the current message.  Raise Error when there is none.
Return the current message.  Raise Error when there is none.
Return the current message . Raise Error when there is none .
def getcurrent(self):
        """Return the current message.  Raise Error when there is none."""
        seqs = self.getsequences()
        try:
            return max(seqs['cur'])
        except (ValueError, KeyError):
            raise Error, "no cur message"
def getcurrent ( self ) : seqs = self . getsequences ( ) try : return max ( seqs [ 'cur' ] ) except ( ValueError , KeyError ) : raise Error , "no cur message"