gestion: retrait des shabang inutiles
Puisque les fichiers ne sont pas executables
This commit is contained in:
parent
4983642647
commit
7426578b0d
19 changed files with 13 additions and 24 deletions
|
@ -1,12 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -!- encoding: utf-8 -!-
|
||||
# SPAM_CABLAGES.PY -- Spamme respbats pour rappeler les cablages a effectuer
|
||||
|
||||
import psycopg2
|
||||
from collections import defaultdict
|
||||
|
||||
import sys
|
||||
sys.path.append('/usr/scripts/')
|
||||
import utils.sendmail
|
||||
|
||||
TEMPLATE = u"""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
""" Collection de fonction/classe pour avoir un bel affichage
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import psycopg2
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
from OpenSSL import crypto, SSL
|
||||
from socket import gethostname
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
""" Changement du shell de l'utilisateur lancant le programme
|
||||
|
@ -9,8 +9,8 @@
|
|||
"""
|
||||
import os, sys
|
||||
|
||||
from affich_tools import prompt
|
||||
from ldap_crans import crans_ldap
|
||||
from gestion.affich_tools import prompt
|
||||
from gestion.ldap_crans import crans_ldap
|
||||
|
||||
db = crans_ldap()
|
||||
uid = os.getenv('SUDO_UID')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
###############################################################################
|
||||
# config_mail : gestion du .forward et .procmailrc des adhérents
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright (C) Stéphane Glondu + ???
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
u"""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# IP6TOOLS.PY -- IPv6 manipulation routines
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# IPT.PY -- Gestion du firewall
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Manipulation d'IPv4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
""" Gestion de lock
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Envoi d'un mail donné à certains adherents
|
||||
# Premier parametre : critere de recherche
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
|
@ -8,7 +8,7 @@ J.Benoist Leger
|
|||
"""
|
||||
|
||||
from time import sleep
|
||||
from annuaires_pg import all_switchs
|
||||
from gestion.annuaires_pg import all_switchs
|
||||
import pexpect
|
||||
import getopt
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# RIDTOOLS.PY -- Gestion de la conversion rid <-> IP
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
""" Fonctions de tests sur l'utilisateur
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright (C) Frédéric Pauget
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue