summaryrefslogtreecommitdiff
path: root/configs/common/PlatformConfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/common/PlatformConfig.py')
-rw-r--r--configs/common/PlatformConfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/PlatformConfig.py b/configs/common/PlatformConfig.py
index 1d047b118..3541c07fb 100644
--- a/configs/common/PlatformConfig.py
+++ b/configs/common/PlatformConfig.py
@@ -63,7 +63,7 @@ def is_platform_class(cls):
try:
return issubclass(cls, m5.objects.Platform) and \
not cls.abstract
- except TypeError:
+ except (TypeError, AttributeError):
return False
def get(name):