Explorar el Código

Fixes deprecation message

Ask Solem hace 12 años
padre
commit
1fc7c23ced
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/app/defaults.py

+ 1 - 1
celery/app/defaults.py

@@ -240,7 +240,7 @@ def find_deprecated_settings(source):
             warn_deprecated(description='The %r setting' % (name, ),
                             deprecation=opt.deprecate_by,
                             removal=opt.remove_by,
-                            alternative=opt.alt)
+                            alternative='Use %s instead' % (opt.alt, ))
     return source