mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Also serialize metaschema in Manifest class
The remote bootstrapping process was broken, since the metaschema was not loaded on the remote side.
This commit is contained in:
parent
d8fa9b90dd
commit
218275a3b5
1 changed files with 2 additions and 0 deletions
|
@ -146,10 +146,12 @@ class Manifest(object):
|
|||
def __getstate__(self):
|
||||
return {'__class__': self.__module__ + '.' + self.__class__.__name__,
|
||||
'path': self.path,
|
||||
'metaschema': self.metaschema,
|
||||
'data': self.data}
|
||||
|
||||
def __setstate__(self, state):
|
||||
self.path = state['path']
|
||||
self.metaschema = state['metaschema']
|
||||
self.load_data(state['data'])
|
||||
self.load_modules()
|
||||
self.validate()
|
||||
|
|
Loading…
Add table
Reference in a new issue