Skip to content
Snippets Groups Projects
Commit cc548da1 authored by Daniel Brown's avatar Daniel Brown
Browse files

Fixing python 2 errors with isolator1 component and list copying

parent 51d0dbcd
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -3,7 +3,7 @@ from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
__version__ = "1.0.13"
__version__ = "1.0.14"
# This flag is used to switch on the gui features in pkat at import time
USE_GUI = False
......
......@@ -1068,7 +1068,8 @@ class isolator1(Component):
return rtn
def getQGraphicsItem(self):
raise NotImplemented()
class lens(Component):
......
......@@ -86,7 +86,8 @@ class putter(object):
self.__owner = weakref.ref(newOwner)
def clearPuts(self):
for _ in self.putees.copy():
import copy
for _ in copy.copy(self.putees):
_.put(None)
def register(self, toput):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment