소스 검색

Cosmetics

Ask Solem 9 년 전
부모
커밋
4a4bb4542d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      celery/events/__init__.py

+ 1 - 2
celery/events/__init__.py

@@ -331,8 +331,7 @@ class EventReceiver(ConsumerMixin):
                 ttl if ttl is not None else conf.event_queue_ttl,
             ),
             'x-expires': maybe_s_to_ms(
-                expires if expires is not None
-                else conf.event_queue_expires,
+                expires if expires is not None else conf.event_queue_expires,
             ),
         })