@@ -370,7 +370,7 @@ def compare(a, b):
370370 return sorted (database_results , key = cmp_to_key (compare ))
371371
372372
373- def get_destination_for_project (config , name : str ) -> str :
373+ def get_mad_destination_for_project (config , name : str ) -> str :
374374 return os .path .join (config ["destination" ], name )
375375
376376
@@ -395,7 +395,7 @@ def main(config, args) -> None:
395395
396396 # Check if any of the MaD directories contain working directory changes in git
397397 for project in projects :
398- mad_dir = get_destination_for_project (config , project ["name" ])
398+ mad_dir = get_mad_destination_for_project (config , project ["name" ])
399399 if os .path .exists (mad_dir ):
400400 git_status_output = subprocess .check_output (
401401 ["git" , "status" , "-s" , mad_dir ], text = True
@@ -440,7 +440,7 @@ def main(config, args) -> None:
440440
441441 # Delete the MaD directory for each project
442442 for project , database_dir in database_results :
443- mad_dir = get_destination_for_project (config , project )
443+ mad_dir = get_mad_destination_for_project (config , project )
444444 if os .path .exists (mad_dir ):
445445 print (f"Deleting existing MaD directory at { mad_dir } " )
446446 subprocess .check_call (["rm" , "-rf" , mad_dir ])
0 commit comments