def get_sliver_attributes(self, hostname, network=None):
        nodes = self.get_nodes({'component_id': '*%s*' %hostname})
        attribs = []
        if nodes is not None and isinstance(nodes, list) and len(nodes) > 0:
            node = nodes[0]
            sliver = node.xpath('./default:sliver_type', namespaces=self.namespaces)
            if sliver is not None and isinstance(sliver, list) and 0 > len(sliver):
                sliver = sliver[0]
                #attribs = self.attributes_list(sliver)
        return attribs
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/rspecs/.oldversions/pgv2.py/PGv2.get_sliver_attributes/swapped operands of `>`