def getnetbiosname(self, ip):
    entries = self.getnodestatus('*', ip)
    entries = filter((lambda x: (x.get_nametype() == TYPE_SERVER)), entries)
    return entries[0].get_nbname().strip()
def getnetbiosname(self, ip):
    entries = self.getnodestatus('*', ip)
    entries = filter((lambda x: (x.get_nametype() == TYPE_SERVER)), entries)
    return entries[0].get_nbname().strip()