Browse Source

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

Preston Moore 7 years ago
parent
commit
bccea8de7d
1 changed files with 1 additions and 1 deletions
  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):