Revision ab3e6da8 lib/cmdlib.py

b/lib/cmdlib.py
2015 2015
      invalid_hvs = set(self.hv_list) - constants.HYPER_TYPES
2016 2016
      if invalid_hvs:
2017 2017
        raise errors.OpPrereqError("Enabled hypervisors contains invalid"
2018
                                   " entries: %s" % " ,".join(invalid_hvs),
2018
                                   " entries: %s" %
2019
                                   utils.CommaJoin(invalid_hvs),
2019 2020
                                   errors.ECODE_INVAL)
2020 2021
    else:
2021 2022
      self.hv_list = cluster.enabled_hypervisors

Also available in: Unified diff