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

Before Change



        // Read the Task Options
        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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: MTG/freesound
Commit Name: fb6b85833496987b6f8fb68a379eb3388bfe2ae5
Time: 2020-10-19
Author: frederic.font@gmail.com
File Name: tags/views.py
Class Name:
Method Name: tags


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: sahana/eden
Commit Name: 2e268c86eee6a1753d16afe23388c9f26dd0f7ca
Time: 2020-01-27
Author: fran@aidiq.com
File Name: modules/s3db/setup.py
Class Name: S3SetupMonitorModel
Method Name: setup_monitor_task_onaccept