aboutsummaryrefslogtreecommitdiff
path: root/bestflags/task.py
diff options
context:
space:
mode:
authorYuheng Long <yuhenglong@google.com>2013-08-14 10:17:25 -0700
committerChromeBot <chrome-bot@google.com>2013-08-15 15:51:21 -0700
commit25cdf79e17a73858ffa28db8a5b387210fea9e25 (patch)
treeee03554b03c33028c9e9e8c1fdda3a465bcf3d63 /bestflags/task.py
parentd5a0ef17c7a611ff0a8c19e1103ef3c73dc4e195 (diff)
downloadtoolchain-utils-25cdf79e17a73858ffa28db8a5b387210fea9e25.tar.gz
Initiate all the class fields in the init method.
BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: I170f4c3a719e0b6aedfdbd90aa29803c011c9ba0 Reviewed-on: https://gerrit-int.chromium.org/42835 Reviewed-by: Simon Que <sque@google.com> Reviewed-by: Luis Lozano <llozano@chromium.org> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
Diffstat (limited to 'bestflags/task.py')
-rw-r--r--bestflags/task.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bestflags/task.py b/bestflags/task.py
index f1ac417f..e41b0aea 100644
--- a/bestflags/task.py
+++ b/bestflags/task.py
@@ -101,6 +101,8 @@ class Task(object):
self._exe_cost = None
self._checksum = None
self._image = None
+ self._file_length = None
+ self._text_length = None
def __eq__(self, other):
"""Test whether two tasks are equal.