Skip to content

Commit 946adaa

Browse files
authored
Merge pull request #6 from ipa-fez/bugfix/infinite-loop
Fix an infinite loop when the specified package doesn't exist
2 parents 702b9d8 + bf77038 commit 946adaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/file_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def find_clang_format():
108108
ros_pkg_path = rospack.get_path(input_ros_pkg)
109109
except Exception, e:
110110
print "Can't find ROS Package with name '" + input_ros_pkg + "', please try another one."
111+
input_ros_pkg = raw_input("ROS Package: ")
111112
continue
112113

113114
# format all files according to the selected file type

0 commit comments

Comments
 (0)