Skip to content

Commit b33a0f2

Browse files
committed
[computer_hw] Py format err (part of ros-drivers#20 (comment))
1 parent 0fba27b commit b33a0f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

computer_hw/src/computer_hw/nvidia_temperature_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def pub_status(self):
5050
gpu_stat = parse_smi_output(card_out)
5151
stat = gpu_status_to_diag(gpu_stat)
5252
rospy.loginfo("card_out: {}\ngpu_stat: {}\n".format(card_out, gpu_stat))
53-
except Exception, e:
53+
except Exception as e:
5454
import traceback
5555
rospy.logerr('Unable to process nVidia GPU data')
5656
rospy.logerr(traceback.format_exc())

0 commit comments

Comments
 (0)