Ask Solem 11 роки тому
батько
коміт
66a50e2413
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      celery/concurrency/asynpool.py
  2. 1 1
      celery/tests/case.py

+ 1 - 1
celery/concurrency/asynpool.py

@@ -1085,7 +1085,7 @@ class AsynPool(_pool.Pool):
                         break
                     else:
                         debug('got %r while flushing process %r',
-                                exc, proc, exc_info=1)
+                              exc, proc, exc_info=1)
                     if get_errno(exc) not in UNAVAIL:
                         debug('got %r while flushing process %r',
                               exc, proc, exc_info=1)

+ 1 - 1
celery/tests/case.py

@@ -534,7 +534,7 @@ def mask_modules(*modnames):
         ...     try:
         ...         import sys
         ...     except ImportError:
-        ...         print 'sys not found'
+        ...         print('sys not found')
         sys not found
 
         >>> import sys  # noqa