@staticmethod
    def sync_repository_last_push_time(row):
        """ Last push synchronization date/time for this repository """

        try:
            repository_id = row["sync_repository.id"]
        except __HOLE__:
            return "-"

        table = current.s3db.sync_task
        query = (table.repository_id == repository_id)
        task = current.db(query).select(orderby=~table.last_push,
                                        limitby=(0,1)).first()
        if task and task.last_push:
            return S3DateTime.datetime_represent(task.last_push, utc=True)
        else:
            return current.T("never")

    # -------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/modules/s3db/sync.py/SyncDataModel.sync_repository_last_push_time