gestion: retrait des shabang inutiles

Puisque les fichiers ne sont pas executables
This commit is contained in:
Daniel STAN 2014-10-24 23:07:37 +02:00
parent 4983642647
commit 7426578b0d
19 changed files with 13 additions and 24 deletions

View file

@ -1,12 +1,10 @@
#!/usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -!- encoding: utf-8 -!- # -!- encoding: utf-8 -!-
# SPAM_CABLAGES.PY -- Spamme respbats pour rappeler les cablages a effectuer # SPAM_CABLAGES.PY -- Spamme respbats pour rappeler les cablages a effectuer
import psycopg2 import psycopg2
from collections import defaultdict from collections import defaultdict
import sys
sys.path.append('/usr/scripts/')
import utils.sendmail import utils.sendmail
TEMPLATE = u""" TEMPLATE = u"""

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" Collection de fonction/classe pour avoir un bel affichage """ Collection de fonction/classe pour avoir un bel affichage

View file

@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import psycopg2 import psycopg2

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from OpenSSL import crypto, SSL from OpenSSL import crypto, SSL
from socket import gethostname from socket import gethostname

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" Changement du shell de l'utilisateur lancant le programme """ Changement du shell de l'utilisateur lancant le programme
@ -9,8 +9,8 @@
""" """
import os, sys import os, sys
from affich_tools import prompt from gestion.affich_tools import prompt
from ldap_crans import crans_ldap from gestion.ldap_crans import crans_ldap
db = crans_ldap() db = crans_ldap()
uid = os.getenv('SUDO_UID') uid = os.getenv('SUDO_UID')

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################### ###############################################################################
# config_mail : gestion du .forward et .procmailrc des adhérents # config_mail : gestion du .forward et .procmailrc des adhérents

View file

@ -1,4 +1,3 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) Stéphane Glondu + ??? # Copyright (C) Stéphane Glondu + ???

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
u""" u"""

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# IP6TOOLS.PY -- IPv6 manipulation routines # IP6TOOLS.PY -- IPv6 manipulation routines

View file

@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# IPT.PY -- Gestion du firewall # IPT.PY -- Gestion du firewall

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
Manipulation d'IPv4 Manipulation d'IPv4

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" Gestion de lock """ Gestion de lock

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Envoi d'un mail donné à certains adherents # Envoi d'un mail donné à certains adherents
# Premier parametre : critere de recherche # Premier parametre : critere de recherche

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
@ -8,7 +8,7 @@ J.Benoist Leger
""" """
from time import sleep from time import sleep
from annuaires_pg import all_switchs from gestion.annuaires_pg import all_switchs
import pexpect import pexpect
import getopt import getopt
import sys import sys

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# RIDTOOLS.PY -- Gestion de la conversion rid <-> IP # RIDTOOLS.PY -- Gestion de la conversion rid <-> IP

View file

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" Fonctions de tests sur l'utilisateur """ Fonctions de tests sur l'utilisateur

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) Frédéric Pauget # Copyright (C) Frédéric Pauget