From f30865c5f07bdc4d5f87e89f9ed99148f4d361ce Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 22 Jan 2015 12:47:13 +0100 Subject: [PATCH] ipapython: Fix incorrect python shebangs Make sure shebangs explicitly reference python2. Reviewed-By: Martin Basti --- daemons/dnssec/ipa-dnskeysync-replica | 2 +- daemons/dnssec/ipa-dnskeysyncd | 2 +- daemons/dnssec/ipa-ods-exporter | 2 +- ipapython/dnssec/abshsm.py | 1 - ipapython/dnssec/bindmgr.py | 1 - ipapython/dnssec/keysyncer.py | 1 - ipapython/dnssec/ldapkeydb.py | 1 - ipapython/dnssec/localhsm.py | 2 +- ipapython/dnssec/odsmgr.py | 2 +- ipapython/dnssec/syncrepl.py | 1 - ipapython/dnssec/temp.py | 1 - ipapython/ipap11helper/setup.py | 2 +- ipapython/p11helper.py | 1 - 13 files changed, 6 insertions(+), 13 deletions(-) diff --git a/daemons/dnssec/ipa-dnskeysync-replica b/daemons/dnssec/ipa-dnskeysync-replica index 23c95a01c..d04f360e0 100755 --- a/daemons/dnssec/ipa-dnskeysync-replica +++ b/daemons/dnssec/ipa-dnskeysync-replica @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/daemons/dnssec/ipa-dnskeysyncd b/daemons/dnssec/ipa-dnskeysyncd index e184d88b4..54a08a1e6 100755 --- a/daemons/dnssec/ipa-dnskeysyncd +++ b/daemons/dnssec/ipa-dnskeysyncd @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/daemons/dnssec/ipa-ods-exporter b/daemons/dnssec/ipa-ods-exporter index 228589151..dc1851d3a 100755 --- a/daemons/dnssec/ipa-ods-exporter +++ b/daemons/dnssec/ipa-ods-exporter @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/abshsm.py b/ipapython/dnssec/abshsm.py index cc8119865..80292e5a7 100644 --- a/ipapython/dnssec/abshsm.py +++ b/ipapython/dnssec/abshsm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/bindmgr.py b/ipapython/dnssec/bindmgr.py index 9c831c241..2c6781609 100644 --- a/ipapython/dnssec/bindmgr.py +++ b/ipapython/dnssec/bindmgr.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/keysyncer.py b/ipapython/dnssec/keysyncer.py index 1b2757326..837602fb4 100644 --- a/ipapython/dnssec/keysyncer.py +++ b/ipapython/dnssec/keysyncer.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/ldapkeydb.py b/ipapython/dnssec/ldapkeydb.py index e2e58f880..71c0a95a3 100644 --- a/ipapython/dnssec/ldapkeydb.py +++ b/ipapython/dnssec/ldapkeydb.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/localhsm.py b/ipapython/dnssec/localhsm.py index de49641b0..6176fbf00 100755 --- a/ipapython/dnssec/localhsm.py +++ b/ipapython/dnssec/localhsm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/odsmgr.py b/ipapython/dnssec/odsmgr.py index ed17351ca..efbe16cc6 100644 --- a/ipapython/dnssec/odsmgr.py +++ b/ipapython/dnssec/odsmgr.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/dnssec/syncrepl.py b/ipapython/dnssec/syncrepl.py index 2f657f599..595582cb8 100644 --- a/ipapython/dnssec/syncrepl.py +++ b/ipapython/dnssec/syncrepl.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license diff --git a/ipapython/dnssec/temp.py b/ipapython/dnssec/temp.py index 23ee377be..e97d3a0b8 100644 --- a/ipapython/dnssec/temp.py +++ b/ipapython/dnssec/temp.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/ipap11helper/setup.py b/ipapython/ipap11helper/setup.py index e8e824a33..9743ac229 100644 --- a/ipapython/ipap11helper/setup.py +++ b/ipapython/ipap11helper/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipapython/p11helper.py b/ipapython/p11helper.py index f084855f4..82e7bff19 100644 --- a/ipapython/p11helper.py +++ b/ipapython/p11helper.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license #