forked from 0x2620/pandora
towards supporting python 2 and 3
- use absolute_imports - make use of six.moves - use exec instead of execfile - use list(dict) instead if dict.keys()
This commit is contained in:
parent
728ed14499
commit
1468ddbecb
89 changed files with 400 additions and 265 deletions
|
|
@ -1,8 +1,10 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from __future__ import division, print_function, absolute_import
|
||||
|
||||
from celery.task import task
|
||||
|
||||
import models
|
||||
from . import models
|
||||
|
||||
|
||||
@task(ignore_results=True, queue='default')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue