cea-hpc / shine

Lustre administration tool
GNU General Public License v2.0
22 stars 9 forks source link

Ticket #216: make Server class comparable #224

Closed degremont closed 3 months ago

degremont commented 3 months ago

Fix "TypeError: '<' not supported between instances of 'Server' and 'Server'" class of error: File ".../Shine/Lustre/Component.py", line 424, in groupbyallservers sortlist = sorted(srvcomps, key=itemgetter(0)) TypeError: '<' not supported between instances of 'Server' and 'Server'