]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix typo
authorZack Cerza <zack@cerza.org>
Thu, 19 Sep 2013 03:57:20 +0000 (22:57 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 19 Sep 2013 03:57:20 +0000 (22:57 -0500)
teuthology/suite.py

index ef2357327adb5d6925e1b42c79dfe11f6ae2abd3..17f8be3c83caad76d6ad003db56eb49632c8099a 100644 (file)
@@ -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)