def whoami(hostname=MYHOSTNAME):
    """Given a hostname return the Romeo object"""
    try:
        for host in foundation.RomeoKeyValue.search('HOSTNAME', value=hostname):
            for ancestor in host.ANCESTORS:
                if ancestor.KEY != 'SERVER': continue
                return ancestor
    except __HOLE__: pass
    raise IdentityCrisis('you appear to be having an identity crisis')


###############################################################################
# Avoid importation circularites
###############################################################################
#internal library packages
dataset/ETHPy150Open OrbitzWorldwide/droned/romeo/lib/romeo/__init__.py/whoami