From 894d1e125e1602ca60becb2a862723b6c13a6d1b Mon Sep 17 00:00:00 2001 From: "Gael Chamoulaud (Strider)" Date: Fri, 20 Mar 2020 12:11:32 +0100 Subject: [PATCH] Make file permission uniform and remove python shebangs This patch also removes all the python shebangs for Ansible components. Change-Id: I6883f718aa3bbc1297a59bdece28ab57993fa459 Signed-off-by: Gael Chamoulaud (Strider) --- validations_common/callback_plugins/fail_if_no_hosts.py | 2 -- validations_common/callback_plugins/validation_json.py | 2 -- validations_common/callback_plugins/validation_output.py | 2 -- validations_common/library/advanced_format.py | 1 - validations_common/library/check_package_update.py | 1 - validations_common/library/haproxy_conf.py | 2 -- validations_common/library/hiera.py | 1 - validations_common/library/validations_read_ini.py | 2 -- validations_common/library/warn.py | 1 - 9 files changed, 14 deletions(-) mode change 100755 => 100644 validations_common/library/check_package_update.py diff --git a/validations_common/callback_plugins/fail_if_no_hosts.py b/validations_common/callback_plugins/fail_if_no_hosts.py index 8b60c17..e80fa5a 100644 --- a/validations_common/callback_plugins/fail_if_no_hosts.py +++ b/validations_common/callback_plugins/fail_if_no_hosts.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/validations_common/callback_plugins/validation_json.py b/validations_common/callback_plugins/validation_json.py index ffbda4a..2cd05ee 100644 --- a/validations_common/callback_plugins/validation_json.py +++ b/validations_common/callback_plugins/validation_json.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/validations_common/callback_plugins/validation_output.py b/validations_common/callback_plugins/validation_output.py index 072c9a6..3abed74 100644 --- a/validations_common/callback_plugins/validation_output.py +++ b/validations_common/callback_plugins/validation_output.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/validations_common/library/advanced_format.py b/validations_common/library/advanced_format.py index 9b1bcaa..8bb9734 100644 --- a/validations_common/library/advanced_format.py +++ b/validations_common/library/advanced_format.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # Copyright 2016 Red Hat, Inc. # All Rights Reserved. # diff --git a/validations_common/library/check_package_update.py b/validations_common/library/check_package_update.py old mode 100755 new mode 100644 index 90f083e..aa273ed --- a/validations_common/library/check_package_update.py +++ b/validations_common/library/check_package_update.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # Copyright 2017 Red Hat, Inc. # All Rights Reserved. # diff --git a/validations_common/library/haproxy_conf.py b/validations_common/library/haproxy_conf.py index 6fcb4d8..453d397 100644 --- a/validations_common/library/haproxy_conf.py +++ b/validations_common/library/haproxy_conf.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/validations_common/library/hiera.py b/validations_common/library/hiera.py index 0022f59..7238ecc 100644 --- a/validations_common/library/hiera.py +++ b/validations_common/library/hiera.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # Copyright 2016 Red Hat, Inc. # All Rights Reserved. # diff --git a/validations_common/library/validations_read_ini.py b/validations_common/library/validations_read_ini.py index 026c568..d8a4180 100644 --- a/validations_common/library/validations_read_ini.py +++ b/validations_common/library/validations_read_ini.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - # -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/validations_common/library/warn.py b/validations_common/library/warn.py index 1fd1fd8..6e77498 100644 --- a/validations_common/library/warn.py +++ b/validations_common/library/warn.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # Copyright 2017 Red Hat, Inc. # All Rights Reserved. #