summaryrefslogtreecommitdiff
path: root/apt/cdrom.py
AgeCommit message (Collapse)AuthorFilesLines
2014-01-06Use print_function everywhereJulian Andres Klode1-0/+2
This brings the code closer to Python 3. Automatically converted using 2to3 -f print.
2013-09-11Completely remove deprecated stuffJulian Andres Klode1-4/+0
2011-04-06all: Fix all instances of ResourceWarning about unclosed filesJulian Andres Klode1-3/+4
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode1-1/+2
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing.
2009-07-19apt/cdrom.py: Make apt.cdrom.Cdrom a subclass of apt_pkg.Cdrom.Julian Andres Klode1-10/+7
2009-07-16apt/progress: Move apt.progress to apt.progress.oldJulian Andres Klode1-1/+1
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode1-7/+7
2009-04-19* Update the code to use the new classes.Julian Andres Klode1-1/+1
2009-04-16* apt/*.py: Initial rename work for Bug#481061Julian Andres Klode1-1/+5
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.
2009-04-01* Copyright updates: debian/copyright, etc.Julian Andres Klode1-1/+1
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-01-13* apt/*.py:Michael Vogt1-21/+60
- Almost complete cleanup of the code - Remove inconsistent use of tabs and spaces (Closes: #505443) - Improved documentation * apt/debfile.py: - Drop get*() methods, as they are deprecated and were never in a stable release - Make DscSrcPackage working * apt/gtk/widgets.py: - Fix the code and document the signals * Introduce new documentation build with Sphinx - Contains style Guide (Closes: #481562) - debian/rules: Build the documentation here - setup.py: Remove pydoc building and add new docs. - debian/examples: Include examples from documentation - debian/python-apt.docs: + Change html/ to build/doc/html. + Add build/doc/text for the text-only documentation * setup.py: - Only create build/data when building, not all the time - Remove build/mo and build/data on clean -a * debian/control: - Remove the Conflicts on python2.3-apt, python2.4-apt, as they are only needed for oldstable (sarge) - Build-Depend on python-sphinx (>= 0.5) * aptsources/distinfo.py: - Allow @ in mirror urls (Closes: #478171) (LP: #223097) * Merge Ben Finney's whitespace changes (Closes: #481563) * Merge Ben Finney's do not use has_key() (Closes: #481878) * Do not use deprecated form of raise statement (Closes: #494259) * Add support for PkgRecords.SHA256Hash (Closes: #456113)
2009-01-09* apt/cdrom.py: Cleanup, support sources.list.dJulian Andres Klode1-21/+64
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode1-1/+1
2007-03-12* fix in the duplicated source checking (thanks to Sebastian Heinlein)Michael Vogt1-1/+0
2007-03-09* apt/cdrom.py:Michael Vogt1-2/+2
- fix bug in cdrom __init__ code * debian/rules: - added "DH_PYCENTRAL=nomove"
2007-02-06* better cdrom support mergedMichael Vogt1-0/+48