X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/704637a070dfbf0880d228228a0ef183e982f81e..18017198ab84bb6482239ff5b621cd490b144c9a:/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