'Returns the items that have changed if there are no changes in dependencies,
otherwise returns all slurped items for reauditing'

def get_items_to_audit(self, watcher, auditor, watchers_with_changes):

    watcher.full_audit_list = None
    if auditor.support_watcher_indexes:
        for support_watcher_index in auditor.support_watcher_indexes:
            if (support_watcher_index in watchers_with_changes):
                app.logger.debug('Upstream    watcher    changed    {}.    reauditing    {}'.format(support_watcher_index, watcher.index))
                watcher.full_audit_list = auditor.read_previous_items()
    if auditor.support_auditor_indexes:
        for support_auditor_index in auditor.support_auditor_indexes:
            if (support_auditor_index in watchers_with_changes):
                app.logger.debug('Upstream    auditor    changed    {}.    reauditing    {}'.format(support_auditor_index, watcher.index))
                watcher.full_audit_list = auditor.read_previous_items()
    if watcher.full_audit_list:
        return watcher.full_audit_list
    return [item for item in (watcher.created_items + watcher.changed_items)]
