Skip to content

Commit

Permalink
Further to #855.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Dec 1, 2024
1 parent f501290 commit f50e9c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions workbench_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3905,6 +3905,11 @@ def check_rollback_file_path_directories(config):
logging.error(message)
sys.exit("Error: " + message)

if config["check"] is True:
logging.info(
f"Rollback configuration file will be written to {rollback_config_file_path}."
)

rollback_csv_file_path = get_rollback_csv_filepath(config)
rollback_csv_file_path_head, rollback_csv_file_path_tail = os.path.split(
rollback_csv_file_path
Expand All @@ -3914,6 +3919,9 @@ def check_rollback_file_path_directories(config):
logging.error(message)
sys.exit("Error: " + message)

if config["check"] is True:
logging.info(f"Rollback CSV file will be written to {rollback_csv_file_path}.")


def get_registered_media_extensions(config, media_bundle, field_name_filter=None):
"""For the given media bundle, gets a list of file extensions registered in Drupal's
Expand Down

0 comments on commit f50e9c2

Please sign in to comment.