We prefer this format:
if (self.cdrom_unattended and
    and self.params.get('unattended_delivery_method') == 'cdrom'):
then using '\'