art-daq / artdaq_daqinterface

Other
0 stars 1 forks source link

more py2/3 string/bytes issues #129

Closed ron003 closed 1 year ago

ron003 commented 1 year ago
/daq/software/products/artdaq_daqinterface/v3_12_01/rc/control
artdaq@icarus-evb01 $ diff daqinterface.py*
1361c1361
<                 if b"type: unsetup: not found" in line:
---
>                 if "type: unsetup: not found" in line:
1364c1364
<                 elif re.search(b"INFO: mrb v\d_\d\d_\d\d requires cetmodules >= \d\.\d\d\.\d\d to run: attempting to configure\.\.\.v\d_\d\d_\d\d OK", line):
---
>                 elif re.search("INFO: mrb v\d_\d\d_\d\d requires cetmodules >= \d\.\d\d\.\d\d to run: attempting to configure\.\.\.v\d_\d\d_\d\d OK", line):
1371c1371
<                                 (self.fill_package_versions.__name__, cmd, "".join([x.decode() for x in stderrlines])))
---
>                                 (self.fill_package_versions.__name__, cmd, "".join(stderrlines)))
--2022-10-28_10:28:14_CDT--