From: Zack Cerza Date: Thu, 19 Sep 2013 03:57:20 +0000 (-0500) Subject: Fix typo X-Git-Tag: 1.1.0~1867 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1685de6741af9a2cedef5362ca6ab117ed23e563;p=teuthology.git Fix typo --- diff --git a/teuthology/suite.py b/teuthology/suite.py index ef2357327a..17f8be3c83 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -533,7 +533,7 @@ def build_email_body(name, archive_dir, timeout): passed[job] = email_templates['pass_templ'].format( job_id=job, desc=summary.get('description'), - time=int(summary.get('duration'), 0), + time=int(summary.get('duration', 0)), ) else: log = misc.get_http_log_path(archive_dir, job)