diff --git a/nailgun/api/models.py b/nailgun/api/models.py index 5bac84d0b..d9bc4bc13 100644 --- a/nailgun/api/models.py +++ b/nailgun/api/models.py @@ -145,7 +145,7 @@ class Node(Base, BasicValidator): bytes = int(info['size']) * 512 terabytes = bytes / 1024.0 ** 4 result['hdd'] += terabytes - except (AttributeError, KeyError, ValueError): + except (AttributeError, KeyError, ValueError, TypeError): result['hdd'] = None return result