

def check_result(self, options, result):
    '\n        :param tuple result: A pair of (done, failed) where the former is a\n            subset of packages given on command line and the latter a list of\n            errors for the rest. For ``--uri`` option, the first item should\n            contain 1 argument equal to uri. Otherwise we expect the same list\n            as ``<package_array>``.\n        '
    (done_on, failed) = self
    if (options['<package_array>'] != done_on):
        if (len(options['<package_array>']) == 1):
            return (False, failed[0])
        return (False, ('Failed to remove packages: %s' % ', '.join((set(options['<package_array>']) - set(done_on)))))
    return True

dataset/ETHPy150Open openlmi/openlmi-scripts/commands/software/lmi/scripts/software/cmd.py Remove.check_result/VarMisuse@22/158 `result`->`self`