Explorar o código

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

Preston Moore %!s(int64=7) %!d(string=hai) anos
pai
achega
bccea8de7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):
     """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):