Fix CacheConfig class indentation issue

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski 2019-11-25 16:45:04 +01:00
parent a08e6fffef
commit 66c695bd1e

View File

@ -132,10 +132,9 @@ class CacheConfig:
self.eviction_policy = eviction_policy self.eviction_policy = eviction_policy
self.metadata_mode = metadata_mode self.metadata_mode = metadata_mode
def __eq__(self, other):
def __eq__(self, other): return self.cache_line_size == other.cache_line_size and \
return self.cache_line_size == other.cache_line_size and \ self.cache_mode == other.cache_mode and \
self.cache_mode == other.cache_mode and \ self.cleaning_policy == other.cleaning_policy and \
self.cleaning_policy == other.cleaning_policy and \ self.eviction_policy == other.eviction_policy and \
self.eviction_policy == other.eviction_policy and \ self.metadata_mode == other.metadata_mode
self.metadata_mode == other.metadata_mode