def save(self):
        self.xmlnode.set('id', self.id)
        self.xmlnode.set('name', self.id)
        pnode = self.xmlnode.find( '%s/%s'%(tag('technique_common'),tag('point')) )
        colornode = pnode.find( tag('color') )
        colornode.text = ' '.join(map(str, self.color ) )
        _correctValInNode(pnode, 'constant_attenuation', self.constant_att)
        _correctValInNode(pnode, 'linear_attenuation', self.linear_att)
        _correctValInNode(pnode, 'quadratic_attenuation', self.quad_att)
        _correctValInNode(pnode, 'zfar', self.zfar)
Truncates a string after a certain number of chars.
dataset/ETHPy150Open pycollada/pycollada/collada/light.py/PointLight.save--crossover with--dataset/ETHPy150Open disqus/overseer/overseer/templatetags/overseer_helpers.py/truncatechars