def transaction_exists(self, pkglist):
    '\n        checks the package list to see if any packages are\n        involved in an incomplete transaction\n        '
    conflicts = []
    if (not transaction_helpers):
        return conflicts
    pkglist_nvreas = (splitFilename(pkg) for pkg in pkglist)
    unfinished_transactions = find_unfinished_transactions()
    for trans in unfinished_transactions:
        steps = find_ts_remaining(trans)
        for step in steps:
            (action, step_spec) = step
            (n, v, r, e, a) = splitFilename(step_spec)
            for pkg in pkglist_nvreas:
                label = ('%s-%s' % (n, a))
                if ((n == pkg[0]) and (a == pkg[4])):
                    if (label not in conflicts):
                        conflicts.append(('%s-%s' % (n, a)))
                    break
    return conflicts
checks the package list to see if any packages are
involved in an incomplete transaction
def transaction_exists(self, pkglist):
    '\n        checks the package list to see if any packages are\n        involved in an incomplete transaction\n        '
    conflicts = []
    if (not transaction_helpers):
        return conflicts
    pkglist_nvreas = (splitFilename(pkg) for pkg in pkglist)
    unfinished_transactions = find_unfinished_transactions()
    for trans in unfinished_transactions:
        steps = find_ts_remaining(trans)
        for step in steps:
            (action, step_spec) = step
            (n, v, r, e, a) = splitFilename(step_spec)
            for pkg in pkglist_nvreas:
                label = ('%s-%s' % (n, a))
                if ((n == pkg[0]) and (a == pkg[4])):
                    if (label not in conflicts):
                        conflicts.append(('%s-%s' % (n, a)))
                    break
    return conflicts