From 609eb5d952a0d96791e82a32ff26edef492ec8df Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Fri, 27 Apr 2018 09:41:21 +0200 Subject: Declaring the encoding to be utf-8 is not necessary in Python3 projects, as this is the default encoding. Encoding declarations are only useful in py3 if you want to declare it to be something _other_ than utf-8. This was, however, a very useful convention in py2. (#56) --- gunicorn_config.py | 1 - 1 file changed, 1 deletion(-) (limited to 'gunicorn_config.py') diff --git a/gunicorn_config.py b/gunicorn_config.py index 5b9f9055..0e374fdd 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -1,4 +1,3 @@ -# coding=utf-8 def when_ready(server=None): """ server hook that only runs when the gunicorn master process loads """ -- cgit v1.2.3