def _remove_unwanted_files(configurator): file_paths = [] rel_file_paths = [ '/subscribers/configure.zcml.example', ] base_path = configurator.variables['package_folder'] for rel_file_path in rel_file_paths: file_paths.append('{0}{1}'.format(base_path, rel_file_path)) remove_unwanted_files(file_paths)
def _remove_unwanted_files(configurator): file_paths = [] rel_file_paths = [ '/api/configure.zcml.example', '/api/services/configure.zcml.example', ] base_path = configurator.variables['package_folder'] for rel_file_path in rel_file_paths: file_paths.append('{0}{1}'.format(base_path, rel_file_path)) remove_unwanted_files(file_paths)