[pypy-svn] r22395 - pypy/dist/pypy/interpreter
adim at codespeak.net
adim at codespeak.net
Wed Jan 18 17:06:44 CET 2006
Author: adim
Date: Wed Jan 18 17:06:34 2006
New Revision: 22395
Modified:
pypy/dist/pypy/interpreter/pycompiler.py
Log:
another space/tabs problem (hopefully the last onesvn diff)
Modified: pypy/dist/pypy/interpreter/pycompiler.py
==============================================================================
--- pypy/dist/pypy/interpreter/pycompiler.py (original)
+++ pypy/dist/pypy/interpreter/pycompiler.py Wed Jan 18 17:06:34 2006
@@ -13,7 +13,7 @@
def __init__(self, space):
self.space = space
- self.w_compile_hook = space.w_None
+ self.w_compile_hook = space.w_None
def compile(self, source, filename, mode, flags):
"""Compile and return an pypy.interpreter.eval.Code instance."""
@@ -220,8 +220,8 @@
raise OperationError(space.w_SyntaxError,
e.wrap_info(space, filename))
- if not space.is_w(self.w_compile_hook, space.w_None):
- w_ast_tree = space.call_function(self.w_compile_hook,
+ if not space.is_w(self.w_compile_hook, space.w_None):
+ w_ast_tree = space.call_function(self.w_compile_hook,
space.wrap(ast_tree),
space.wrap(encoding))
ast_tree = space.interp_w(Node, w_ast_tree)
More information about the Pypy-commit
mailing list