X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fsfatables;h=6bf4408b67ccfad1f9d7fd6095297ca816073f90;hb=31cc4fa991896f000abb106916662923f37bc3a6;hp=b413ef1a2d4026331bf497e8bfd44e89d785c7f8;hpb=50d80230b924e20e028ed3c0f13ddd6f98cfbe54;p=sfa.git diff --git a/sfatables/sfatables b/sfatables/sfatables index b413ef1a..6bf4408b 100755 --- a/sfatables/sfatables +++ b/sfatables/sfatables @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # This file parses an sfatables command and generates XML files that parameterize # matches and targets. Each such XML file defines a rule. Rules are dropped in directories @@ -8,14 +8,12 @@ import sys import os -import pdb import glob -import libxml2 from optparse import OptionParser from sfatables import commands from sfatables.xmlextension import Xmlextension -from sfatables.globals import * +from sfatables.globals import target_dir, match_dir def load_commands(module, list): command_dict={}