From 70fd3b73b5f1071a21899bc8882ced088a5ee08a Mon Sep 17 00:00:00 2001 From: "ahrenholz@gmail.com" Date: Mon, 2 Jun 2014 19:38:02 +0000 Subject: [PATCH] tomh: s._starttime may not be a string (Boeing r1843) --- trunk/daemon/core/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/daemon/core/service.py b/trunk/daemon/core/service.py index a4e30a1c..ccd19354 100644 --- a/trunk/daemon/core/service.py +++ b/trunk/daemon/core/service.py @@ -218,7 +218,7 @@ class CoreServices(ConfigurableManager): services = sorted(node.services, key=lambda service: service._startindex) for s in services: - if len(s._starttime) > 0: + if len(str(s._starttime)) > 0: try: t = float(s._starttime) if t > 0.0: