We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 831133a commit a288449Copy full SHA for a288449
1 file changed
lib/spack/spack/reporters/cdash.py
@@ -302,7 +302,10 @@ def upload(self, filename):
302
request.get_method = lambda: 'PUT'
303
response = opener.open(request)
304
if self.current_package_name not in self.buildIds:
305
- match = self.buildid_regexp.search(response.read())
+ resp_value = response.read()
306
+ if isinstance(resp_value, bytes):
307
+ resp_value = resp_value.decode('utf-8')
308
+ match = self.buildid_regexp.search(resp_value)
309
if match:
310
buildid = match.group(1)
311
self.buildIds[self.current_package_name] = buildid
0 commit comments