~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to notification/engine.py

  • Committer: franku
  • Date: 2017-04-17 12:43:17 UTC
  • mto: This revision was merged to the branch mainline in revision 456.
  • Revision ID: somal@arcor.de-20170417124317-kpyyf0w7htu87yh6
removed unused files; queued e-mails

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                    str(queued_batch.pickled_data).decode('base64'))
50
50
                for user, label, extra_context, on_site in notices:
51
51
                    user = User.objects.get(pk=user)
52
 
                    logging.info('emitting notice to %s' % user)
 
52
                    # FrankU: commented, because not all users get e-mailed
 
53
                    # logging.info('emitting notice to %s' % user)
53
54
                    # call this once per user to be atomic and allow for logging to
54
55
                    # accurately show how long each takes.
55
56
                    notification.send_now(