diff options
Diffstat (limited to 'src/examples/httpServerLogParser.py')
-rw-r--r-- | src/examples/httpServerLogParser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/httpServerLogParser.py b/src/examples/httpServerLogParser.py index 9f5584d..1a808ae 100644 --- a/src/examples/httpServerLogParser.py +++ b/src/examples/httpServerLogParser.py @@ -63,9 +63,9 @@ testdata = """ for line in testdata.split("\n"):
if not line: continue
fields = getLogLineBNF().parseString(line)
- print fields.dump()
+ print(fields.dump())
#~ print repr(fields)
#~ for k in fields.keys():
#~ print "fields." + k + " =", fields[k]
- print fields.asXML("LOG")
- print
+ print(fields.asXML("LOG"))
+ print()
|