summaryrefslogtreecommitdiffstats
path: root/keystone/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/common/utils.py')
-rw-r--r--keystone/common/utils.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/keystone/common/utils.py b/keystone/common/utils.py
index 13a4cc40..9536cdc7 100644
--- a/keystone/common/utils.py
+++ b/keystone/common/utils.py
@@ -217,10 +217,6 @@ def hash_signed_token(signed_text):
def setup_remote_pydev_debug():
if CONF.pydev_debug_host and CONF.pydev_debug_port:
- error_msg = ('Error setting up the debug environment. Verify that the'
- ' option --debug-url has the format <host>:<port> and '
- 'that a debugger processes is listening on that port.')
-
try:
try:
from pydevd import pydevd
@@ -233,7 +229,10 @@ def setup_remote_pydev_debug():
stderrToServer=True)
return True
except:
- LOG.exception(_(error_msg))
+ LOG.exception(_(
+ 'Error setting up the debug environment. Verify that the '
+ 'option --debug-url has the format <host>:<port> and that a '
+ 'debugger processes is listening on that port.'))
raise