From 705742816112dffefd3233f2c8dda7c845c6e8b3 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 31 May 2016 10:08:28 +0100 Subject: [PATCH] src: firewall: core: Drop unneeded python shebangs The fw_ifcfg and fw_nm files are not supposed to be executed as standalone files but rather imported by the main firewalld code so drop the python shebangs. This also fixes a warning when building firewalld in openSUSE OBS: firewalld.noarch: W: non-executable-script /usr/lib/python2.7/site-packages/firewall/core/fw_nm.py 644 /usr/bin/python firewalld.noarch: W: non-executable-script /usr/lib/python2.7/site-packages/firewall/core/fw_ifcfg.py 644 /usr/bin/python --- src/firewall/core/fw_ifcfg.py | 1 - src/firewall/core/fw_nm.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/firewall/core/fw_ifcfg.py b/src/firewall/core/fw_ifcfg.py index 442a6cc..33794a7 100644 --- a/src/firewall/core/fw_ifcfg.py +++ b/src/firewall/core/fw_ifcfg.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2010-2016 Red Hat, Inc. diff --git a/src/firewall/core/fw_nm.py b/src/firewall/core/fw_nm.py index 38ef8fd..3df94c4 100644 --- a/src/firewall/core/fw_nm.py +++ b/src/firewall/core/fw_nm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2010-2016 Red Hat, Inc. -- 2.8.3