Commit 53ce0e21 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Update aria/core/ariabase.py

parent a2c86344
......@@ -228,6 +228,14 @@ class AriaBaseClass:
if name is not None:
self._set_name(name)
def __getstate__(self):
"""
Remove logger attribute in order to pickle every ariabase object instance
"""
d = dict(self.__dict__)
del d['logger']
return d
def get_version_string(self):
return self.VERSION_FORMAT % (self.VERSION, self.VERSION_RELEASE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment