diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-24 18:06:30 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-24 18:06:30 +0200 |
| commit | 9f0511895a1a6a1d82e498a609cb4f237fa9b60c (patch) | |
| tree | 3afaa00475ab7108e8d3cc37f0be8ca6246d47f9 /python/tag.cc | |
| parent | 0d2eb441d867ab7c6543fdd69f2a632cd354b0a4 (diff) | |
| download | python-apt-9f0511895a1a6a1d82e498a609cb4f237fa9b60c.tar.gz | |
* utils/migrate-0.8.py: Correctly import modules, improve attribute detection
In order to import modules from a package, 'fromlist' may not be empty. Therefore,
we pass ['*'] now.
When attributes where checked, we just checked their names and did not check
their classes. This meant that in e.g.
Compat-API: A.alpha, B.alpha
Clean-API: A.alpha
The attribute 'alpha' would not be considered deprecated because it is provided
by A.alpha. Now we treat an 'alpha' attribute as deprecated, if at least one class
loses it.
Diffstat (limited to 'python/tag.cc')
0 files changed, 0 insertions, 0 deletions
