Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-04-05 08:31:59 -0400
committeraleherbau2011-04-05 08:31:59 -0400
commitc1641a0ba3d0fc310fb909fe0b62531f55440c93 (patch)
treeb85b98e46d5b9d826c796a1105697c1d26efed87 /python/src/tcf/errors.py
parent559ca401ad7f4f02875edeefaf2b56dc79702000 (diff)
downloadorg.eclipse.tcf-c1641a0ba3d0fc310fb909fe0b62531f55440c93.tar.gz
org.eclipse.tcf-c1641a0ba3d0fc310fb909fe0b62531f55440c93.tar.xz
org.eclipse.tcf-c1641a0ba3d0fc310fb909fe0b62531f55440c93.zip
Fixed serialization issues and added Diagnostics tests
Diffstat (limited to 'python/src/tcf/errors.py')
-rw-r--r--python/src/tcf/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/tcf/errors.py b/python/src/tcf/errors.py
index 7a6c69364..53c856000 100644
--- a/python/src/tcf/errors.py
+++ b/python/src/tcf/errors.py
@@ -78,7 +78,7 @@ class ErrorReport(exceptions.Exception):
if type(attrs) is types.IntType:
attrs = {
ERROR_CODE : attrs,
- ERROR_TIME : time.time(),
+ ERROR_TIME : int(time.time()),
ERROR_FORMAT : msg,
ERROR_SEVERITY : SEVERITY_ERROR
}

Back to the top