'Executed before _addhost for host object post-treatment'

def _pre_addhost(self):

    if ('cpes' in self._curhost):
        cpes = self._curhost['cpes']
        self._curhost['cpes'] = list(viewvalues(cpes))
