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 -*-
from __future__ import unicode_literals
default_app_config = "modoboa.admin.apps.AdminConfig"
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin API."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Modoboa admin settings."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""AppConfig for admin."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin constants."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Fixtures factories.
"""
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from .account import (
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Forms related to accounts management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Forms related to aliases management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Forms related to domains management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import forms
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Forms related to forwards management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Forms related to import operations."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Django signal handlers for admin."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""A management command to apply mailbox operations."""
from __future__ import print_function, unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Modoboa main management command."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Django management command to export admin objects."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Django management command to import admin objects."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Management command to create DKIM keys."""
from __future__ import print_function, unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Management command to check and fix known problems."""
from __future__ import print_function, unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin models."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Models related to aliases management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Base admin models."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Models related to domains management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Models related to domain aliases management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Models related to mailboxes management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""MX records storage."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Map file definitions for postfix."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin serializers."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Modoboa admin signals."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin extension tags."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Export related test cases."""
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Management command tests."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Test map files generation."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.urls import reverse
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Repair command tests"""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""User related tests."""
from __future__ import unicode_literals
+2 -1
View File
@@ -1,4 +1,5 @@
# pylint: disable=invalid-name, protected-access
# -*- coding: utf-8 -*-
"""Admin urls."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Admin API urls."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Shortcuts."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Alias related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""DNSBL related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Domain related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Export related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Identity related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Import related views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""SimpleUsers views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""App config for core."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core config for admin."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""A shortcut to deploy a fresh modoboa instance."""
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Core application constants."""
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom context processors."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# Development settings
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Extension management."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Factories for core application."""
from __future__ import unicode_literals
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Core forms."""
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Modoboa core signal handlers."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Inactive accounts cleanup tool."""
from __future__ import print_function, unicode_literals
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Management command to communicate with public API."""
from __future__ import unicode_literals
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
"""Management command to generate/update postfix map files."""
from __future__ import print_function, unicode_literals
import copy
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""A management command to load Modoboa initial data:
* Create a default super admin if none exists
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""
A simple managemenent command to update the default site.
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core middlewares."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Mocks used for testing."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core models."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Password hashers for Modoboa.
"""
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Advanced (ie. stronger) password hashers.
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""
Base password hashers.
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom password validators."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Modoboa core signals."""
from __future__ import unicode_literals
+2 -1
View File
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Custom tags for Core application."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""A stupid extension used for tests."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""A stupid extension used for tests."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Custom urls."""
from __future__ import unicode_literals
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import http
+1 -1
View File
@@ -1,4 +1,4 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Tests for core application."""
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Tests for core application."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Extensions management related test cases."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Tests for core application."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core views test cases."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core urls."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Utility functions."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Views available to super administrators only."""
from __future__ import unicode_literals
+2 -1
View File
@@ -1,4 +1,5 @@
# coding: utf-8
# -*- coding: utf-8 -*-
"""Core authentication views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Base core views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Core dashboard views."""
from __future__ import unicode_literals
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
"""Simple user views."""
from __future__ import unicode_literals
+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

Some files were not shown because too many files have changed in this diff Show More