(self, name)
Get an ID
Get an ID
Get an ID
def uuid(self, name):
        """Get an ID"""
        if not name:
            name = self.def_name
        try:
            return str(uuid.uuid3(uuid.uuid4(), str(name) + str(time.time())))
        except (NameError, AttributeError):
            return (("%s-%s-%s-%s-%s") %
                    (self._rnd(8), self._rnd(4), self._rnd(4),
                     self._rnd(4), self._rnd(12)))
def uuid ( self , name ) : if not name : name = self . def_name try : return str ( uuid . uuid3 ( uuid . uuid4 ( ) , str ( name ) + str ( time . time ( ) ) ) ) except ( NameError , AttributeError ) : return ( ( "%s-%s-%s-%s-%s" ) % ( self . _rnd ( 8 ) , self . _rnd ( 4 ) , self . _rnd ( 4 ) , self . _rnd ( 4 ) , self . _rnd ( 12 ) ) )