aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Guiban2012-07-20 03:25:19 (EDT)
committerAnton Leherbauer2012-07-20 03:25:19 (EDT)
commitbcabd015ac452a5749cd8d8dd510ba7bbc7ea2f3 (patch)
tree9f6426a7bc833a07aff7a4698b5838879bb49417
parentb33065d9c452fb5528f9a56cff72b9f623b4744c (diff)
downloadorg.eclipse.tcf-bcabd015ac452a5749cd8d8dd510ba7bbc7ea2f3.zip
org.eclipse.tcf-bcabd015ac452a5749cd8d8dd510ba7bbc7ea2f3.tar.gz
org.eclipse.tcf-bcabd015ac452a5749cd8d8dd510ba7bbc7ea2f3.tar.bz2
TCF Python: Bug 385160 - Memory.set command fails to generate the error
string when command fails
-rw-r--r--python/src/tcf/services/remote/MemoryProxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/src/tcf/services/remote/MemoryProxy.py b/python/src/tcf/services/remote/MemoryProxy.py
index cb18106..8cf9f30 100644
--- a/python/src/tcf/services/remote/MemoryProxy.py
+++ b/python/src/tcf/services/remote/MemoryProxy.py
@@ -1,4 +1,4 @@
-# *******************************************************************************
+# *****************************************************************************
# * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License v1.0
@@ -7,7 +7,7 @@
# *
# * Contributors:
# * Wind River Systems - initial API and implementation
-# *******************************************************************************
+# *****************************************************************************
from tcf import errors, channel
from tcf.services import memory
@@ -195,7 +195,7 @@ class MemoryCommand(Command):
if len(cmd) > 72: cmd = cmd[0:72] + "..."
e = MemoryErrorReport(
"TCF command exception:\nCommand: %s\nException: %s\nError code: %d" % (
- cmd, self.toErrorString(data), code),
+ cmd, errors.toErrorString(data), code),
data, addr, ranges)
caused_by = data.get(errors.ERROR_CAUSED_BY)
if caused_by is not None: e.caused_by = self.toError(caused_by, False)