I haven't checked deeply, but the change below seems to break
Products.ZSQLMethods. At least there is an import in
Products.ZSQLMethod from this location. And we depend heavily on it...
Since you're already around that piece of code, would you mind moving
it over there and releasing a new version of Products.ZSQLMetods? I
would be most thankful.
On Sun, Jul 3, 2011 at 17:19, Hanno Schlichting <hanno...@hannosch.eu> wrote:
> Log message for revision 122084:
> Removed the last remaining code to support `SOFTWARE_HOME` and `ZOPE_HOME`.
> U Zope/trunk/src/App/Extensions.py
> -class NoBrains:
> - pass
> -def getBrain(module, class_name, reload=0, modules=None):
> - """ Check/load a class from an extension.
> - """
> - if not module and not class_name:
> - return NoBrains
> - if modules is None:
> - c=getObject(module, class_name, reload)
> - else:
> - c=getObject(module, class_name, reload, modules=modules)
> - if getattr(c, '__bases__', None) is None:
> - raise ValueError('%s, is not a class' % class_name)
> - return c
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -