@@ -244,7 +244,7 @@ def find_rst_variable(parameter: str, file: dict, line_nr: int, information_flow
244244 print ("\t \t Found " + str (parameters [p ]) + " in file " + str (correct_file ))
245245 if parameters [p ][0 ] != "\" " or parameters [p ][- 1 ] != "\" " :
246246 if count < 50 :
247- parameters [p ], x = find_rst_variable (parameters [p ], fc , linec , information_flows , microservices , dfd , count + 1 ) # recursive step
247+ parameters [p ], x = find_rst_variable (parameters [p ], fc , linec , information_flows , microservice , dfd , count + 1 ) # recursive step
248248 except :
249249 print ("\t Could not find a definition for " + str (parameters [p ]) + "." )
250250 return False , information_flows
@@ -259,7 +259,7 @@ def find_rst_variable(parameter: str, file: dict, line_nr: int, information_flow
259259 if parameters [p ].strip ("\" " ).strip () != "" :
260260 if parameters [p ][0 ] != "\" " or parameters [p ][- 1 ] != "\" " :
261261 if count < 50 :
262- parameters [p ], x = find_rst_variable (parameters [p ], file , line , information_flows , microservices , dfd , count + 1 ) # recursive step
262+ parameters [p ], x = find_rst_variable (parameters [p ], file , line , information_flows , microservice , dfd , count + 1 ) # recursive step
263263 if parameters [p ] != False :
264264 parameters [p ] = parameters [p ].strip ("\" " ).strip ()
265265 logger .info ("\t \t Found " + str (parameters [p ]) + " in this file." )
0 commit comments