Home | Trees | Indices | Help |
---|
|
This is the main script to gather all information from the various sources to build the XML file with all the data to be fed to the parser.
For command line usage see usage() .
Author: Johannes Schwenk
Copyright: 2010, Johannes Schwenk
Version: 2.0
Date: 2010-09-15
|
|||
|
|||
|
|||
|
|
|||
XML_TEMP_FILENAME = u'%s/%s' %(TEMP_DIR, u'.raw.'.join(XML_FIL Temporary XML file of the acquired data. |
|
Print out the version and command line usage information. Usage: $./getXML.py [options] Command line options: -v | --version : Print version information, then exit. -h | --help : Print this text, then exit. -n | --nonet : Do a run without fetching data from the net. -p <PLUGIN_NAME> | --plugin=<PLUGIN_NAME> : Load only the specified plugin. Requires presence of the -s parameter. -s <SOURCE_NAME> | --source=<SOURCE_NAME> : Together with the -p parameter, loads only the plugin for the specified source. |
Collect all needed information from command line arguments and act accordingly. Checks for available disk space and issues a warning to the logfile if the remaining space is less than 6 times that of the space already used by the scripts directory and subdirectories. If the command line parameters are not -h, -v or their long versions, instantiate a Controller and call its run method. |
|
XML_TEMP_FILENAMETemporary XML file of the acquired data. Will be moved to
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Sep 16 13:42:03 2010 | http://epydoc.sourceforge.net |