aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pypy/translator/goal/targetpypystandalone.py')
-rw-r--r--pypy/translator/goal/targetpypystandalone.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pypy/translator/goal/targetpypystandalone.py b/pypy/translator/goal/targetpypystandalone.py
index c402b81a96..42352b7de6 100644
--- a/pypy/translator/goal/targetpypystandalone.py
+++ b/pypy/translator/goal/targetpypystandalone.py
@@ -65,7 +65,7 @@ def create_entry_point(space, w_dict):
## con.interact()
except OperationError, e:
debug("OperationError:")
- debug(" operror-type: " + e.w_type.getname(space, '?'))
+ debug(" operror-type: " + e.w_type.getname(space))
debug(" operror-value: " + space.str_w(space.str(e.get_w_value(space))))
return 1
finally:
@@ -75,7 +75,7 @@ def create_entry_point(space, w_dict):
space.timer.stop("space.finish")
except OperationError, e:
debug("OperationError:")
- debug(" operror-type: " + e.w_type.getname(space, '?'))
+ debug(" operror-type: " + e.w_type.getname(space))
debug(" operror-value: " + space.str_w(space.str(e.get_w_value(space))))
return 1
space.timer.stop("Entrypoint")