Skip to content

Commit ceee156

Browse files
Remove another Python version check
Turns out I hadn't saved the file before previous commit...
1 parent cb69b77 commit ceee156

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎softioc/device_core.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ class DSET(DSET_BASE):
126126
# Hang onto the values we publish to EPICS to ensure that they persist!
127127
# We also need to ensure that the device name persits.
128128
cls.__dset = dset
129-
if sys.version_info >= (3,):
130-
cls._device_name_ = cls._device_name_.encode()
129+
cls._device_name_ = cls._device_name_.encode()
131130
imports.registryDeviceSupportAdd(cls._device_name_, byref(cls.__dset))
132131

133132

0 commit comments

Comments
 (0)