[pypy-svn] r47491 - pypy/dist/pypy/module/_ffi
fijal at codespeak.net
fijal at codespeak.net
Tue Oct 16 11:35:08 CEST 2007
Author: fijal
Date: Tue Oct 16 11:35:08 2007
New Revision: 47491
Modified:
pypy/dist/pypy/module/_ffi/structure.py
Log:
Fix rpythonism
Modified: pypy/dist/pypy/module/_ffi/structure.py
==============================================================================
--- pypy/dist/pypy/module/_ffi/structure.py (original)
+++ pypy/dist/pypy/module/_ffi/structure.py Tue Oct 16 11:35:08 2007
@@ -79,7 +79,7 @@
self.next_pos = i
return wrap_result(space, c, self.cast_pos)
raise OperationError(space.w_AttributeError, space.wrap(
- "C Structure has no attribute %s" % name))
+ "C Structure has no attribute %s" % attr))
getattr.unwrap_spec = ['self', ObjSpace, str]
def push_field(self, num, value):
More information about the Pypy-commit
mailing list