Browse Source

Fixes strange Python3.2 bug. Closes #1034

Ask Solem 12 năm trước cách đây
mục cha
commit
1c5efa6bde
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      celery/utils/__init__.py

+ 1 - 1
celery/utils/__init__.py

@@ -19,7 +19,7 @@ from functools import partial, wraps
 from inspect import getargspec
 from pprint import pprint
 
-from kombu import Exchange, Queue
+from kombu.entity import Exchange, Queue
 
 from celery.exceptions import CPendingDeprecationWarning, CDeprecationWarning
 from .compat import StringIO