Skip to content

Commit c8f66c4

Browse files
committed
Python3_PhaseMatrixQuickSyn: Future imports in all files, print ->print(), exec -> exec()
1 parent 00a48ae commit c8f66c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

PhaseMatrixQuickSyn.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
# the project for the full license. #
1111
# #
1212
#####################################################################
13+
from __future__ import division, unicode_literals, print_function, absolute_import
14+
from labscript_utils import PY2
15+
if PY2:
16+
str = unicode
1317

1418
import numpy as np
1519
from labscript_devices import labscript_device, BLACS_tab, BLACS_worker, runviewer_parser
@@ -195,7 +199,7 @@ def update_blanking(self):
195199
@define_state(MODE_MANUAL|MODE_BUFFERED|MODE_TRANSITION_TO_BUFFERED|MODE_TRANSITION_TO_MANUAL,True,True)
196200
def update_lock_recovery(self):
197201
value = self.status_ui.lock_recovery_button.isChecked()
198-
print value
202+
print(value)
199203
yield(self.queue_work(self._primary_worker,'update_lock_recovery',value))
200204

201205

0 commit comments

Comments
 (0)