[Zope-Checkins]
SVN: Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/
Cosmetics: adjust a piece of code that I added earlier to the
indentation
Philipp von Weitershausen
philikon at philikon.de
Mon Nov 20 19:29:27 EST 2006
Log message for revision 71225:
Cosmetics: adjust a piece of code that I added earlier to the indentation
style of the overall file
Changed:
_U Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/
U Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/_Acquisition.c
-=-
Property changes on: Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition
___________________________________________________________________
Name: svk:merge
- bfa16f6a-5b7b-4684-983a-15b8a78f95a3:/local/Acquisition:3246
+ bfa16f6a-5b7b-4684-983a-15b8a78f95a3:/local/Acquisition:3247
Modified: Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/_Acquisition.c
===================================================================
--- Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/_Acquisition.c 2006-11-21 00:29:17 UTC (rev 71224)
+++ Zope/branches/philikon-aq-and-__parent__/lib/python/Acquisition/_Acquisition.c 2006-11-21 00:29:27 UTC (rev 71225)
@@ -1391,12 +1391,13 @@
/* Not wrapped; check if we have a __parent__ pointer. If that's
the case, we create a wrapper and pretend it's business as
usual */
- if ((__parent__ = PyObject_GetAttr(self, py__parent__))) {
- self = newWrapper(self, __parent__, (PyTypeObject*)&Wrappertype);
- return Wrapper_findattr(
- WRAPPER(self), name, filter, extra, OBJECT(self), 1, 1,
- explicit, containment);
- }
+ if ((__parent__ = PyObject_GetAttr(self, py__parent__)))
+ {
+ self = newWrapper(self, __parent__, (PyTypeObject*)&Wrappertype);
+ return Wrapper_findattr(
+ WRAPPER(self), name, filter, extra, OBJECT(self), 1, 1,
+ explicit, containment);
+ }
/* no filter, and no __parent__, so just getattr */
if (! filter) return PyObject_GetAttr(self, name);
More information about the Zope-Checkins
mailing list