From 73c27d6a0e739bf94c10f347aa195048cba185eb Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Sun, 1 Aug 2021 22:35:08 +1200 Subject: [PATCH] utf8 marker batch1 (#3127) * added utf-8 markers to all .py files in plugins/{action,cache,callback} * added utf-8 markers to all .py files in plugins/connection * added utf-8 markers to all .py files in plugins/doc_fragments --- plugins/action/system/iptables_state.py | 1 + plugins/action/system/shutdown.py | 1 + plugins/cache/memcached.py | 1 + plugins/cache/pickle.py | 1 + plugins/cache/redis.py | 1 + plugins/cache/yaml.py | 1 + plugins/callback/context_demo.py | 1 + plugins/callback/counter_enabled.py | 1 + plugins/callback/dense.py | 1 + plugins/callback/hipchat.py | 1 + plugins/callback/jabber.py | 1 + plugins/callback/log_plays.py | 1 + plugins/callback/loganalytics.py | 1 + plugins/callback/logdna.py | 1 + plugins/callback/logentries.py | 1 + plugins/callback/logstash.py | 1 + plugins/callback/null.py | 1 + plugins/callback/say.py | 1 + plugins/callback/selective.py | 1 + plugins/callback/slack.py | 1 + plugins/callback/syslog_json.py | 1 + plugins/callback/unixy.py | 1 + plugins/callback/yaml.py | 1 + plugins/connection/chroot.py | 1 + plugins/connection/funcd.py | 1 + plugins/connection/iocage.py | 1 + plugins/connection/jail.py | 1 + plugins/connection/lxc.py | 1 + plugins/connection/lxd.py | 1 + plugins/connection/qubes.py | 1 + plugins/connection/saltstack.py | 1 + plugins/connection/zone.py | 1 + plugins/doc_fragments/hpe3par.py | 1 + plugins/doc_fragments/hwc.py | 1 + plugins/doc_fragments/oracle.py | 1 + plugins/doc_fragments/oracle_creatable_resource.py | 1 + plugins/doc_fragments/oracle_display_name_option.py | 1 + plugins/doc_fragments/oracle_name_option.py | 1 + plugins/doc_fragments/oracle_tags.py | 1 + plugins/doc_fragments/oracle_wait_options.py | 1 + plugins/doc_fragments/vexata.py | 1 + 41 files changed, 41 insertions(+) diff --git a/plugins/action/system/iptables_state.py b/plugins/action/system/iptables_state.py index 6884e77713..93e4bc2ed4 100644 --- a/plugins/action/system/iptables_state.py +++ b/plugins/action/system/iptables_state.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright: (c) 2020, quidame # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/action/system/shutdown.py b/plugins/action/system/shutdown.py index 953b73778b..4995ef8d8b 100644 --- a/plugins/action/system/shutdown.py +++ b/plugins/action/system/shutdown.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright: (c) 2020, Amin Vakil # Copyright: (c) 2016-2018, Matt Davis # Copyright: (c) 2018, Sam Doran diff --git a/plugins/cache/memcached.py b/plugins/cache/memcached.py index 5c9e54aaa0..fb2a778fc3 100644 --- a/plugins/cache/memcached.py +++ b/plugins/cache/memcached.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2014, Brian Coca, Josh Drake, et al # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/cache/pickle.py b/plugins/cache/pickle.py index 38a93e2e28..b790e73a4c 100644 --- a/plugins/cache/pickle.py +++ b/plugins/cache/pickle.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2017, Brian Coca # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/cache/redis.py b/plugins/cache/redis.py index 20616096ae..6b5f2c4ad0 100644 --- a/plugins/cache/redis.py +++ b/plugins/cache/redis.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2014, Brian Coca, Josh Drake, et al # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/cache/yaml.py b/plugins/cache/yaml.py index b47d74038c..b676dd0dbb 100644 --- a/plugins/cache/yaml.py +++ b/plugins/cache/yaml.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2017, Brian Coca # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/context_demo.py b/plugins/callback/context_demo.py index 2441f4063f..39c912acae 100644 --- a/plugins/callback/context_demo.py +++ b/plugins/callback/context_demo.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (C) 2012, Michael DeHaan, # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/counter_enabled.py b/plugins/callback/counter_enabled.py index 2b8c270024..352c773b9b 100644 --- a/plugins/callback/counter_enabled.py +++ b/plugins/callback/counter_enabled.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2018, Ivan Aragones Muniesa # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ''' diff --git a/plugins/callback/dense.py b/plugins/callback/dense.py index abbf05ef48..38d3e1bee7 100644 --- a/plugins/callback/dense.py +++ b/plugins/callback/dense.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2016, Dag Wieers # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/hipchat.py b/plugins/callback/hipchat.py index e097ac8eb6..771c425df8 100644 --- a/plugins/callback/hipchat.py +++ b/plugins/callback/hipchat.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (C) 2014, Matt Martz # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/jabber.py b/plugins/callback/jabber.py index 83476a85c5..c57e08804a 100644 --- a/plugins/callback/jabber.py +++ b/plugins/callback/jabber.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (C) 2016 maxn nikolaev.makc@gmail.com # Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/log_plays.py b/plugins/callback/log_plays.py index df3482f483..24acf3fc95 100644 --- a/plugins/callback/log_plays.py +++ b/plugins/callback/log_plays.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (C) 2012, Michael DeHaan, # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/loganalytics.py b/plugins/callback/loganalytics.py index ef1ea02f87..ccc7649218 100644 --- a/plugins/callback/loganalytics.py +++ b/plugins/callback/loganalytics.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) diff --git a/plugins/callback/logdna.py b/plugins/callback/logdna.py index 165005d0bd..ddb4c477da 100644 --- a/plugins/callback/logdna.py +++ b/plugins/callback/logdna.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2018, Samir Musali # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/logentries.py b/plugins/callback/logentries.py index d78bff331c..344bd219cd 100644 --- a/plugins/callback/logentries.py +++ b/plugins/callback/logentries.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2015, Logentries.com, Jimmy Tang # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/logstash.py b/plugins/callback/logstash.py index ef862fdb42..95da7fa95a 100644 --- a/plugins/callback/logstash.py +++ b/plugins/callback/logstash.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (C) 2020, Yevhen Khmelenko # (C) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/null.py b/plugins/callback/null.py index cda8603167..9eb5198d0c 100644 --- a/plugins/callback/null.py +++ b/plugins/callback/null.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/say.py b/plugins/callback/say.py index e3efd3e63b..309777e241 100644 --- a/plugins/callback/say.py +++ b/plugins/callback/say.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2012, Michael DeHaan, # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/selective.py b/plugins/callback/selective.py index 8d882d89bd..b1e09c8236 100644 --- a/plugins/callback/selective.py +++ b/plugins/callback/selective.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) Fastly, inc 2016 # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/slack.py b/plugins/callback/slack.py index 74d338dbcc..c791bf6a36 100644 --- a/plugins/callback/slack.py +++ b/plugins/callback/slack.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (C) 2014-2015, Matt Martz # (C) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/syslog_json.py b/plugins/callback/syslog_json.py index a9547526ee..73543614a8 100644 --- a/plugins/callback/syslog_json.py +++ b/plugins/callback/syslog_json.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/unixy.py b/plugins/callback/unixy.py index aaca1bd8cc..dec2ab0c8c 100644 --- a/plugins/callback/unixy.py +++ b/plugins/callback/unixy.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright: (c) 2017, Allyson Bowles <@akatch> # Copyright: (c) 2012-2014, Michael DeHaan # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/callback/yaml.py b/plugins/callback/yaml.py index da931d6b73..d4036c808e 100644 --- a/plugins/callback/yaml.py +++ b/plugins/callback/yaml.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/connection/chroot.py b/plugins/connection/chroot.py index c4c427aa0a..3e15947031 100644 --- a/plugins/connection/chroot.py +++ b/plugins/connection/chroot.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on local.py (c) 2012, Michael DeHaan # # (c) 2013, Maykel Moya diff --git a/plugins/connection/funcd.py b/plugins/connection/funcd.py index afea840ee8..caf9d06c60 100644 --- a/plugins/connection/funcd.py +++ b/plugins/connection/funcd.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on local.py (c) 2012, Michael DeHaan # Based on chroot.py (c) 2013, Maykel Moya # Copyright (c) 2013, Michael Scherer diff --git a/plugins/connection/iocage.py b/plugins/connection/iocage.py index e97867e58f..94761d5c17 100644 --- a/plugins/connection/iocage.py +++ b/plugins/connection/iocage.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on jail.py # (c) 2013, Michael Scherer # (c) 2015, Toshio Kuratomi diff --git a/plugins/connection/jail.py b/plugins/connection/jail.py index cee08ed8fd..c3de25c753 100644 --- a/plugins/connection/jail.py +++ b/plugins/connection/jail.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on local.py by Michael DeHaan # and chroot.py by Maykel Moya # Copyright (c) 2013, Michael Scherer diff --git a/plugins/connection/lxc.py b/plugins/connection/lxc.py index b18919efd3..d5c7a7ebbe 100644 --- a/plugins/connection/lxc.py +++ b/plugins/connection/lxc.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2015, Joerg Thalheim # Copyright (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/connection/lxd.py b/plugins/connection/lxd.py index d523234449..31ff13c776 100644 --- a/plugins/connection/lxd.py +++ b/plugins/connection/lxd.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # (c) 2016 Matt Clay # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/connection/qubes.py b/plugins/connection/qubes.py index ca221a7fac..fd72f38e2f 100644 --- a/plugins/connection/qubes.py +++ b/plugins/connection/qubes.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on the buildah connection plugin # Copyright (c) 2017 Ansible Project # 2018 Kushal Das diff --git a/plugins/connection/saltstack.py b/plugins/connection/saltstack.py index f8e3680aea..3d56083bb6 100644 --- a/plugins/connection/saltstack.py +++ b/plugins/connection/saltstack.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on local.py (c) 2012, Michael DeHaan # Based on chroot.py (c) 2013, Maykel Moya # Based on func.py diff --git a/plugins/connection/zone.py b/plugins/connection/zone.py index b12cffe28d..a859b5e32f 100644 --- a/plugins/connection/zone.py +++ b/plugins/connection/zone.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Based on local.py (c) 2012, Michael DeHaan # and chroot.py (c) 2013, Maykel Moya # and jail.py (c) 2013, Michael Scherer diff --git a/plugins/doc_fragments/hpe3par.py b/plugins/doc_fragments/hpe3par.py index fa51ccdb91..e16ead4207 100644 --- a/plugins/doc_fragments/hpe3par.py +++ b/plugins/doc_fragments/hpe3par.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright: (c) 2018, Hewlett Packard Enterprise Development LP # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/hwc.py b/plugins/doc_fragments/hwc.py index 80cd0465d7..c6c5dd23bd 100644 --- a/plugins/doc_fragments/hwc.py +++ b/plugins/doc_fragments/hwc.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright: (c) 2018, Huawei Inc. # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle.py b/plugins/doc_fragments/oracle.py index 5ad04a2220..94ed18107d 100644 --- a/plugins/doc_fragments/oracle.py +++ b/plugins/doc_fragments/oracle.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle_creatable_resource.py b/plugins/doc_fragments/oracle_creatable_resource.py index 468eaabe3f..f76e7146b3 100644 --- a/plugins/doc_fragments/oracle_creatable_resource.py +++ b/plugins/doc_fragments/oracle_creatable_resource.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle_display_name_option.py b/plugins/doc_fragments/oracle_display_name_option.py index 01f92f183b..b9ce0d92fe 100644 --- a/plugins/doc_fragments/oracle_display_name_option.py +++ b/plugins/doc_fragments/oracle_display_name_option.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle_name_option.py b/plugins/doc_fragments/oracle_name_option.py index 9a7b0226f7..dd9b98816e 100644 --- a/plugins/doc_fragments/oracle_name_option.py +++ b/plugins/doc_fragments/oracle_name_option.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle_tags.py b/plugins/doc_fragments/oracle_tags.py index 1d9cae0e8f..e92598c549 100644 --- a/plugins/doc_fragments/oracle_tags.py +++ b/plugins/doc_fragments/oracle_tags.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/oracle_wait_options.py b/plugins/doc_fragments/oracle_wait_options.py index 248319c2e8..d94f079a86 100644 --- a/plugins/doc_fragments/oracle_wait_options.py +++ b/plugins/doc_fragments/oracle_wait_options.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # Copyright (c) 2018, Oracle and/or its affiliates. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/plugins/doc_fragments/vexata.py b/plugins/doc_fragments/vexata.py index 9f756cc877..920457fa04 100644 --- a/plugins/doc_fragments/vexata.py +++ b/plugins/doc_fragments/vexata.py @@ -1,3 +1,4 @@ +# coding: utf-8 -*- # # Copyright: (c) 2019, Sandeep Kasargod # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)