diff --git a/qa/qa_config.py b/qa/qa_config.py index 7ccbfdd6e267f09fe1d8c85789d5dee82a88d371..b73ee638f0cc77d712b13942478a224b8bae48e5 100644 --- a/qa/qa_config.py +++ b/qa/qa_config.py @@ -176,10 +176,8 @@ class _QaConfig(object): """Is the given disk template supported by the current configuration? """ - if self.GetExclusiveStorage(): - return templ in constants.DTS_EXCL_STORAGE - else: - return True + return (not self.GetExclusiveStorage() or + templ in constants.DTS_EXCL_STORAGE) def Load(path):