~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to notification/engine.py

  • Committer: franku
  • Date: 2019-04-11 15:06:09 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: somal@arcor.de-20190411150609-801l72ffxgr6gkui
converted to python 3.6 using 2to3 script

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
import traceback
6
6
 
7
7
try:
8
 
    import cPickle as pickle
 
8
    import pickle as pickle
9
9
except ImportError:
10
10
    import pickle
11
11
 
14
14
from django.contrib.auth.models import User
15
15
from django.contrib.sites.models import Site
16
16
 
17
 
from lockfile import FileLock, AlreadyLocked, LockTimeout
 
17
from .lockfile import FileLock, AlreadyLocked, LockTimeout
18
18
 
19
19
from notification.models import NoticeQueueBatch
20
20
from notification import models as notification