Pārlūkot izejas kodu

Make appstr use standard format (#4134) (#4139)

Preston Moore 7 gadi atpakaļ
vecāks
revīzija
bccea8de7d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      celery/app/utils.py

+ 1 - 1
celery/app/utils.py

@@ -70,7 +70,7 @@ FMT_REPLACE_SETTING = '{replace:<36} -> {with_}'
 
 
 def appstr(app):
 def appstr(app):
     """String used in __repr__ etc, to id app instances."""
     """String used in __repr__ etc, to id app instances."""
-    return '{0}:{1:#x}'.format(app.main or '__main__', id(app))
+    return '{0} at {1:#x}'.format(app.main or '__main__', id(app))
 
 
 
 
 class Settings(ConfigurationView):
 class Settings(ConfigurationView):