equal
deleted
inserted
replaced
784 |
784 |
785 # ------------------------------------------------------------------------------- |
785 # ------------------------------------------------------------------------------- |
786 # Current Buffering Management Functions |
786 # Current Buffering Management Functions |
787 # ------------------------------------------------------------------------------- |
787 # ------------------------------------------------------------------------------- |
788 |
788 |
789 """ |
|
790 Return a copy of the config |
|
791 """ |
|
792 def Copy(self, model): |
789 def Copy(self, model): |
|
790 """Return a copy of the config""" |
793 return deepcopy(model) |
791 return deepcopy(model) |
794 |
792 |
795 def CreateBuffer(self, saved): |
793 def CreateBuffer(self, saved): |
796 self.Buffer = UndoBuffer( |
794 self.Buffer = UndoBuffer( |
797 (EtherCATConfigParser.Dumps(self.Config), |
795 (EtherCATConfigParser.Dumps(self.Config), |