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={}
# get the filename and get rid of the ".xml" extension
ext_name = os.path.extsep.join(os.path.splitext(os.path.basename(ext))[:-1])
ext_dict[ext_name]=module
- print "Loaded:", ext_name, ext
return ext_dict