Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
server/frontend.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/frontend.py b/server/frontend.py
index 0850c58..eb7b23c 100644
--- a/server/frontend.py
+++ b/server/frontend.py
@@ -798,7 +798,7 @@ class JobStatus(RpcObject):
self.hash = hash
self.__dict__.update(hash)
self.job = Job(afe, self.job)
- if self.host:
+ if getattr(self, 'host'):
self.host = Host(afe, self.host)
--
1.7.6
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest