Browse Source

setproctitle should not format hostname with @ anymore

Ask Solem 12 years ago
parent
commit
e377d68257
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/platforms.py

+ 1 - 1
celery/platforms.py

@@ -633,7 +633,7 @@ else:
 
         """
         if hostname:
-            progname = '{0}@{1}'.format(progname, hostname.split('.')[0])
+            progname = '{0}: {1}'.format(progname, hostname)
         return set_process_title(
             '{0}:{1}'.format(progname, current_process().name), info=info)