Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorJerome Guiban2012-07-20 07:25:19 +0000
committerAnton Leherbauer2012-07-20 07:25:38 +0000
commitdb1578790e3fe4f264560b2d10528d337d68aa13 (patch)
tree9f6d747ad8af00ab35bee4dbdf47e5490a366c1a /python
parentdbe79a1d7a07db80cf78508cdfa9801386896c3b (diff)
downloadorg.eclipse.tcf-db1578790e3fe4f264560b2d10528d337d68aa13.tar.gz
org.eclipse.tcf-db1578790e3fe4f264560b2d10528d337d68aa13.tar.xz
org.eclipse.tcf-db1578790e3fe4f264560b2d10528d337d68aa13.zip
TCF Python: Bug 385160 - Memory.set command fails to generate the error
string when command fails
Diffstat (limited to 'python')
-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 cb181069b..8cf9f302e 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)

Back to the top