Skip to content

Commit 6785257

Browse files
authored
Fix broken CI (pyccel#1952)
Split returns list which is non-hashable. Since pyccel#1949 a key in the bot is generated using a split. This PR converts this to a tuple which is hashable
1 parent 9ef48b1 commit 6785257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci_tools/bot_tools/bot_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def get_name_key(self, name):
995995
The name which can be used as a key.
996996
"""
997997
if '(' in name:
998-
return name.split('(')[1].split(')')[0].split(', ')
998+
return tuple(name.split('(')[1].split(')')[0].split(', '))
999999
elif 'Codacy' in name:
10001000
return 'Codacy'
10011001
else:

0 commit comments

Comments
 (0)