add missing utf8 header

use `# -*- coding: utf-8 -*-` which is more widely supported by editors
This commit is contained in:
Andrew Fyfe
2018-02-03 00:59:08 +00:00
parent 3159eca296
commit f71414ddfa
159 changed files with 298 additions and 33 deletions
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""A client for Modoboa's public API."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom authentication backends."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from modoboa.lib.cryptutils import decrypt
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+2 -1
View File
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
:mod:`exceptions` --- Custom Modoboa exceptions
-----------------------------------------------
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom form fields."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Form management utilities."""
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
A collection of LDAP based classes/functions.
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Custom middlewares."""
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Custom pagination tools.
"""
+2 -1
View File
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Object level permissions."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom signals."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
This module extra functions/shortcuts to communicate with the system
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Form rendering tags.
"""
+2 -1
View File
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Custom template tags."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Tools for top level testing (ie. when ran by Travis)."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
Unstructured rfc2047 header to unicode.
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Field validators."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
This module contains extra functions/shortcuts used to render HTML.