File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ def complete_path(text, state):
8686elif user_input in ['b' , 'B' ]:
8787 readline .set_completer (autocomplete .complete )
8888 print "\n 2) Specify the ROS packages you want to format (quit by entering [q/Q]):"
89- input_ros_pkg = ""
89+ input_ros_pkg = raw_input ( "ROS Package: " )
9090
9191 while input_ros_pkg not in ['q' , 'Q' ]:
92- input_ros_pkg = raw_input ("ROS Package: " )
9392 # try to find ros package by name
9493 try :
9594 ros_pkg_path = rospack .get_path (input_ros_pkg )
9695 except Exception , e :
9796 print "Can't find ROS Package with name '" + input_ros_pkg + "', please try another one."
97+ input_ros_pkg = raw_input ("ROS Package: " )
9898 continue
9999
100100 # format all files according to the selected file type
You can’t perform that action at this time.
0 commit comments