Revision cf62af3a qa/qa_config.py

b/qa/qa_config.py
176 176
    """Is the given disk template supported by the current configuration?
177 177

  
178 178
    """
179
    if self.GetExclusiveStorage():
180
      return templ in constants.DTS_EXCL_STORAGE
181
    else:
182
      return True
179
    return (not self.GetExclusiveStorage() or
180
            templ in constants.DTS_EXCL_STORAGE)
183 181

  
184 182

  
185 183
def Load(path):

Also available in: Unified diff