This commit is contained in:
vic 2012-12-14 15:54:30 +04:00 committed by default
parent 26ed5c3208
commit 3f4d1f35be
1 changed files with 4 additions and 1 deletions

View File

@ -76,7 +76,10 @@ class Node(ManagedObject):
super(Node, self).__init__()
self.name = name
if not metadata: self.metadata = {}
if metadata is None:
self.metadata = {}
else:
self.metadata = metadata
self.cpu = cpu
self.memory = memory
self.arch = arch