X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/704637a070dfbf0880d228228a0ef183e982f81e..a3fc67f3b4b1b435f90c5d823416b6ec5340b215:/src/minwii/loganalyse.py 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