Commit c69d362c authored by Felipe Bordeu's avatar Felipe Bordeu
Browse files

(BaseOutputObject.py) Beter API when froze_it is used

parent 138e652f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@ def froze_it(cls):
    For the moment if a class is frozen no heritage is possible.
    """
    if not useFroze_itDecorator:
        setattr(cls, "UnFrozen", lambda x: None )
        setattr(cls, "IsFrozen", lambda x: False )
        return cls

    cls.__frozen = False