2e268c86eee6a1753d16afe23388c9f26dd0f7ca,modules/templates/default/monitor.py,S3Monitor,email_round_trip,#Any#Any#,94

Before Change


        otable = current.s3db.setup_monitor_task_option
        query = (otable.task_id == task_id) & \
                (otable.deleted == False)
        rows = current.db(query).select(otable.tag,
                                        otable.value,
                                        )
        options = dict((row.tag, row.value) for row in rows)

        to = options.get("to", None)
        if not to:

After Change



        // Read the Task Options
        ttable = current.s3db.setup_monitor_task
        task = current.db(ttable.task_id == task_id).select(ttable.options,
                                                            limitby = (0, 1)
                                                            ).first()
        options = json.loads(task.options)
        options_get = options.get

        to = options_get("to", None)
        if not to:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: sahana/eden
Commit Name: 2e268c86eee6a1753d16afe23388c9f26dd0f7ca
Time: 2020-01-27
Author: fran@aidiq.com
File Name: modules/templates/default/monitor.py
Class Name: S3Monitor
Method Name: email_round_trip


Project Name: comic/grand-challenge.org
Commit Name: 34fb7ae750095c01926f7af255da89ebf741cb61
Time: 2020-11-30
Author: HarmvZ@users.noreply.github.com
File Name: app/grandchallenge/algorithms/tasks.py
Class Name:
Method Name: send_failed_jobs_email


Project Name: OpenMined/Grid
Commit Name: cbfd421229bc8038944ba5933088d69abc411204
Time: 2021-03-13
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/user_service.py
Class Name:
Method Name: get_all_users_msg