(self, str)
Create snapshot from string.
Create snapshot from string.
Create snapshot from string .
def __init__(self, str):
        "Create snapshot from string."

        self.sn_str = str
        tmp = str.split(':')
        if len(tmp) != 3:
            raise Exception('Unknown format for snapshot')
        self.xmin = int(tmp[0])
        self.xmax = int(tmp[1])
        self.txid_list = []
        if tmp[2] != "":
            for s in tmp[2].split(','):
                self.txid_list.append(int(s))
def __init__ ( self , str ) : self . sn_str = str tmp = str . split ( ':' ) if len ( tmp ) != 3 : raise Exception ( 'Unknown format for snapshot' ) self . xmin = int ( tmp [ 0 ] ) self . xmax = int ( tmp [ 1 ] ) self . txid_list = [ ] if tmp [ 2 ] != "" : for s in tmp [ 2 ] . split ( ',' ) : self . txid_list . append ( int ( s ) )