Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

        def tuple_int_get(node, attr_name, default=None):
    if not node.get(attr_name):
        return default
    return map(int, node.get(attr_name).split(','))
        


src/o/p/openerp-core-7.0.406/openerp/report/render/rml2pdf/trml2pdf.py   openerp-core(Download)
    def _table_style_get(self, style_node):
        styles = []
        for node in style_node:
            start = utils.tuple_int_get(node, 'start', (0,0) )
            stop = utils.tuple_int_get(node, 'stop', (-1,-1) )

src/o/p/openerp-server-5.0.0-3/bin/report/render/rml2pdf/trml2pdf.py   openerp-server(Download)
    def _table_style_get(self, style_node):
        styles = []
        for node in style_node.childNodes:
            if node.nodeType==node.ELEMENT_NODE:
                start = utils.tuple_int_get(node, 'start', (0,0) )
                stop = utils.tuple_int_get(node, 'stop', (-1,-1) )

src/t/r/trml2pdf-HEAD/trml2pdf/trml2pdf.py   trml2pdf(Download)
	def _table_style_get(self, style_node):
		styles = []
		for node in style_node.childNodes:
			if node.nodeType==node.ELEMENT_NODE:
				start = utils.tuple_int_get(node, 'start', (0,0) )
				stop = utils.tuple_int_get(node, 'stop', (-1,-1) )