[fix bug 848756] Fixed celery deprecation warning.