From 02558289adc48896e1ad7f5ad3e5a5f539d07ac2 Mon Sep 17 00:00:00 2001 From: Alexandre Linhares Date: Wed, 27 Sep 2017 20:32:54 -0300 Subject: [PATCH] Preparing for refactor --- .gitignore | 1 + main.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index c56418d..55cac1c 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ pip-log.txt # Unit test / coverage reports .coverage .tox +.log # Other filesystems .svn diff --git a/main.py b/main.py index 8905b26..e1cb419 100755 --- a/main.py +++ b/main.py @@ -29,6 +29,8 @@ from copycat import Copycat, Reporter class SimpleReporter(Reporter): + """Reports results from a single run.""" + def report_answer(self, answer): print('Answered %s (time %d, final temperature %.1f)' % ( answer['answer'], answer['time'], answer['temp'],