node_manager_daemon_fkie: ignore directories on read include files
@@ -241,8 +241,11 @@ def included_files(string,
recursive_list = res_list
else:
result += res_list
+ elif os.path.isdir(file_name):
+ file_name = ''
except Exception as e:
rospy.logwarn(utf8(e))
+ if file_name:
if not unique:
# transform found position to line number
result.append((content.count("\n", 0, groups.start()) + 1, file_name, recursive_list))
