From b6c867e7d8f8c34138efadc5efd0c9f30bff9ecb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 30 Jun 2009 23:09:17 +0000 Subject: - Bug fix: when a ``repoze.bfg.resource.PackageOverrides`` class was instantiated, and the package it was overriding already had a ``__loader__`` attribute, it would fail at startup time, even if the ``__loader__`` attribute was another PackageOverrides instance. We now replace any ``__loader__`` that is also a PackageOverrides instance. Symptom: ``ConfigurationExecutionError: : Package already has a __loader__ (probably a module in a zipped egg)``. --- CHANGES.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 61458163c..3a3c39495 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,15 @@ Next release ============ -- ... +- Bug fix: when a ``repoze.bfg.resource.PackageOverrides`` class was + instantiated, and the package it was overriding already had a + ``__loader__`` attribute, it would fail at startup time, even if the + ``__loader__`` attribute was another PackageOverrides instance. We + now replace any ``__loader__`` that is also a PackageOverrides + instance. Symptom: ``ConfigurationExecutionError: : Package + already has a __loader__ (probably a module in a zipped egg)``. 1.0a7 (2009-06-30) ================== -- cgit v1.2.3