diff --git a/topaz/modules/kernel.py b/topaz/modules/kernel.py index bb6a946e2..0ba34efa3 100644 --- a/topaz/modules/kernel.py +++ b/topaz/modules/kernel.py @@ -10,10 +10,10 @@ from topaz.error import RubyError, error_for_oserror from topaz.module import Module, ModuleDef from topaz.modules.process import Process +from topaz.objects.bindingobject import W_BindingObject from topaz.objects.exceptionobject import W_ExceptionObject from topaz.objects.procobject import W_ProcObject from topaz.objects.stringobject import W_StringObject -from topaz.objects.bindingobject import W_BindingObject class Kernel(Module): @@ -309,7 +309,7 @@ def method_eval(self, space, w_source, w_binding=None): elif not isinstance(w_binding, W_BindingObject): raise space.error(space.w_TypeError, "wrong argument type %s (expected Binding)" % - space.str_w(space.getclass(w_binding).name) + space.getclass(w_binding).name ) return space.send(w_binding, space.newsymbol("eval"), [w_source])