Hide switch -x (XML output format) as it is incomplete and bugged and won't make it for 0.9 stable

This commit is contained in:
Bernardo Damele
2011-02-27 12:17:41 +00:00
parent 60605b6e7c
commit 6e8ebd35f4
4 changed files with 11 additions and 14 deletions

View File

@@ -145,9 +145,9 @@ optDict = {
},
"General": {
"xmlFile": "string",
"sessionFile": "string",
#"xmlFile": "string",
"trafficFile": "string",
"sessionFile": "string",
"flushSession": "boolean",
"forms": "boolean",
"eta": "boolean",

View File

@@ -238,7 +238,7 @@ def __createDumpDir():
os.makedirs(conf.dumpPath, 0755)
def __configureDumper():
if conf.xmlFile:
if hasattr(conf, 'xmlFile') and conf.xmlFile:
conf.dumper = xmldumper
else:
conf.dumper = dumper