def _maybe_add_last_unit(self, unit, last_unit):
        if not last_unit or self._no_dependencies:
            return

        for option in unit.options():
            if (option['section'] == 'Unit' and
                    ['After', 'Requires'] in option['name'] and
                    option['value'] == last_unit):
                LOGGER.debug('Bypassing addition of last unit dependency')
                return

        options = unit._options
        unit._options = []
        for option in options:
            unit.add_option(option.section, option.name, option.value)
            if option.section == 'Unit' and option.name == 'Description':
                LOGGER.debug('Adding dependency on %s', last_unit)
                unit.add_option('Unit', 'Requires', last_unit)
                unit.add_option('Unit', 'After', last_unit)
dataset/ETHPy150Open aweber/houston/houston/controller.py/Controller._maybe_add_last_unit/swapped operands of `in`