def clean(self, args):
        """ Cleans up the environment """
        try:
            cleanup_cloud_compute(self.__config, self._context)
            cleanup_default_tenants(self.__config, self._context)
            cleanup_infrastructure_compute(self.__config, self._context)
        except (AbiquoException, AuthorizationException), ex:
            print "Error: %s" % ex.getMessage()
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/env.py/EnvironmentPlugin.clean/original