Merge "Use __slots__ for dependencies.Node"

This commit is contained in:
Jenkins 2016-12-07 15:31:51 +00:00 committed by Gerrit Code Review
commit f141140bc8

View File

@ -30,6 +30,8 @@ class CircularDependencyException(exception.HeatException):
class Node(object):
"""A node in a dependency graph."""
__slots__ = ('require', 'satisfy')
def __init__(self, requires=None, required_by=None):
"""Initialisation of the node.