We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262d9fc commit d054217Copy full SHA for d054217
celery/apps/worker.py
@@ -186,10 +186,10 @@ def on_start(self):
186
187
# Dump configuration to screen so we have some basic information
188
# for when users sends bug reports.
189
- sys.__stdout__.write(
190
- str(self.colored.cyan(' \n', self.startup_info())) +
191
- str(self.colored.reset(self.extra_info() or '')) + '\n'
192
- )
+ print(''.join([
+ string(self.colored.cyan(' \n', self.startup_info())),
+ string(self.colored.reset(self.extra_info() or '')),
+ ]), file=sys.__stdout__)
193
self.set_process_status('-active-')
194
self.install_platform_tweaks(self)
195
0 commit comments