Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/tcf/services/processes.py')
-rw-r--r--python/src/tcf/services/processes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/tcf/services/processes.py b/python/src/tcf/services/processes.py
index e7addb3b9..8670fe2ae 100644
--- a/python/src/tcf/services/processes.py
+++ b/python/src/tcf/services/processes.py
@@ -1,5 +1,5 @@
# *******************************************************************************
-# * Copyright (c) 2011 Wind River Systems, Inc. and others.
+# * 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
# * which accompanies this distribution, and is available at
@@ -223,7 +223,7 @@ class ProcessContext(object):
Services like IRunControl, IMemory, IBreakpoints work only with attached processes.
@return value of PROP_ATTACHED.
"""
- return self._props.get(PROP_ATTACHED)
+ return bool(self._props.get(PROP_ATTACHED))
def canTerminate(self):
"""

Back to the top