X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/4722346740569925bc0f88d4b5bba44df6b01a5d..a3fc67f3b4b1b435f90c5d823416b6ec5340b215:/src/minwii/loganalyse.py?ds=inline diff --git a/src/minwii/loganalyse.py b/src/minwii/loganalyse.py index 952c3a7..e33dfcf 100755 --- a/src/minwii/loganalyse.py +++ b/src/minwii/loganalyse.py @@ -71,7 +71,7 @@ class LogFileAnalyser(LogFileReader) : meth = getattr(self, name) results[name] = meth() - pprint(results) + return results def playingDuration(self) : """ retourne la durée écoulée entre le premier et de dernier message @@ -174,7 +174,7 @@ def main() : lfa = LogFileAnalyser(args[0]) - lfa.analyse() + pprint(lfa.analyse()) if __name__ == "__main__" : from os.path import realpath, sep