add one more attribute for Profile

This commit is contained in:
QI ZHANG 2015-03-12 15:13:42 +08:00
parent e9d9cb653e
commit 5a3ce58fd2
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class Profile(object):
self.id = kwargs.get('id', None)
self.context = kwargs.get('context', None)
self.profile_context = kwargs.get('profile_context', None)
self.spec = kwargs.get('spec', None)
self.spec_data = schema.Spec(self.spec_schema, self.spec, self.context)