Merge pull request #196 from rafalste/fix_indent

Fix CacheConfig class indentation issue
This commit is contained in:
Katarzyna Łapińska 2019-11-26 09:27:00 +01:00 committed by GitHub
commit e46cd24892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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