FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Resolve "User Sync Tool - Step 1 - read and write custom schema, and initiate scanning"

Merged Robin Goodall requested to merge 40-custom-schema into master
Files
3
+ 3
3
@@ -13,7 +13,7 @@ import socket
from .base import ConfigurationStateConsumer
from .. import gapiutil
from .utils import (email_to_uid, email_to_gid, groupID_regex, instID_regex,
date_months_ago, isodate_parse, customAction, cache_to_disk)
date_months_ago, isodate_parse, custom_action, cache_to_disk)
LOG = logging.getLogger(__name__)
@@ -135,8 +135,8 @@ class GAPIRetriever(ConfigurationStateConsumer):
# Form a set of suspended uids that have no mydrive-shared-action or -result
no_mydrive_shared_settings_uids = {
uid for uid, u in all_google_users_by_uid.items()
if u['suspended'] and not customAction(u, 'mydrive-shared-action') and
not customAction(u, 'mydrive-shared-result')
if u['suspended'] and not custom_action(u, 'mydrive-shared-action') and
not custom_action(u, 'mydrive-shared-result')
}
# Sanity check. We should not have lost anything. (I.e. the uids should be unique.)
Loading