def get_info_filename(base_path):
 base_file = os.path.basename(base_path)
 return (CONF.image_info_filename_pattern % {'image': base_file})

def get_info_filename ( base_path ) : base_file = os . path . basename ( base_path ) return ( CONF . image_info_filename_pattern % { 'image' : base_file } )
construct a filename for storing additional information about a base image .