# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
return (self._wrapped_type,(self.local_copy(),))
def assign(self,elt):
- assert(isinstance(self._var_ptr,SALOME._objref_PickelizedPyObjRdWrServer))
+ ptrCorba=self._var_ptr.ptr()
+ assert(isinstance(ptrCorba,SALOME._objref_PickelizedPyObjRdWrServer))
st=cPickle.dumps(elt,cPickle.HIGHEST_PROTOCOL)
- self._var_ptr.setSerializedContent(st)
+ ptrCorba.setSerializedContent(st)
pass
def __del__(self):