summaryrefslogtreecommitdiff
path: root/apt/deprecation.py
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11Completely remove deprecated stuffJulian Andres Klode1-106/+0
2009-06-05python/progress.cc, apt/progress/*.py: Use PEP 8 naming conventions for progressJulian Andres Klode1-1/+1
This changes the progress classes to use PEP 8 names. Due to the concept of the deprecation system, this causes methods of subclasses not to be called at all. If a class implements a command with underscores, it is called. If the class also implements the version in mixedCase, this is ignored. This means that all subclasses will not work correctly, because only the method from the parent class is called.
2009-04-17* apt/deprecation.py: Add deprecated_args()Julian Andres Klode1-4/+34
The function deprecated_args() is used in case a function name is kept, but the function previously had parameters in mixedCase names.
2009-04-16* apt/*.py: Initial rename work for Bug#481061Julian Andres Klode1-0/+76
A new module, apt.deprecation, is introduced containing functions and classes which assist in the deprecation. The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7). The names are changed, and compatibility functions are enabled if bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with backward compatibility fixes. This commit changes the apt and aptsources packages, the apt_pkg and apt_inst extensions will be the next renames.