[arpwatch_sendmail] sre est deprecated (6)
Ignore-this: c94e57afb3854f47dd5a9933fdf9503c darcs-hash:20090425002901-ffbb2-4f36604cd78d4d0ce819d1dad7e74077ebaa49d1.gz
This commit is contained in:
parent
4640360160
commit
9cd62c6ce7
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@
|
|||
# Auteurs : Stéphane Glondu, Cyril Cohen
|
||||
# Licence : GPLv2
|
||||
|
||||
import sys, os, sre, smtplib
|
||||
import sys, os, re, smtplib
|
||||
from commands import getstatusoutput
|
||||
|
||||
sys.path.append('/usr/scripts/gestion/tools')
|
||||
from locate_mac import trace_machine, format_mac, info_machine
|
||||
|
||||
find_mac = sre.compile(r'[0-9A-Fa-f]{1,2}(?::[0-9A-Fa-f]{1,2}){5}')
|
||||
find_mac = re.compile(r'[0-9A-Fa-f]{1,2}(?::[0-9A-Fa-f]{1,2}){5}')
|
||||
|
||||
|
||||
def get_machine(unformated_mac):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue