We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fba27b commit b33a0f2Copy full SHA for b33a0f2
1 file changed
computer_hw/src/computer_hw/nvidia_temperature_monitor.py
@@ -50,7 +50,7 @@ def pub_status(self):
50
gpu_stat = parse_smi_output(card_out)
51
stat = gpu_status_to_diag(gpu_stat)
52
rospy.loginfo("card_out: {}\ngpu_stat: {}\n".format(card_out, gpu_stat))
53
- except Exception, e:
+ except Exception as e:
54
import traceback
55
rospy.logerr('Unable to process nVidia GPU data')
56
rospy.logerr(traceback.format_exc())
0 commit comments