summaryrefslogtreecommitdiff
path: root/apt/progress/text.py
AgeCommit message (Collapse)AuthorFilesLines
2014-01-06Use a single code base for Python 2 and 3Julian Andres Klode1-5/+10
This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code.
2014-01-06Use print_function everywhereJulian Andres Klode1-0/+2
This brings the code closer to Python 3. Automatically converted using 2to3 -f print.
2014-01-05make test_pep8.py passMichael Vogt1-4/+5
2011-04-11apt.progress: Use long for ETA, natural type for size (LP: #377375)Julian Andres Klode1-3/+2
2010-12-13* apt/progress/text.py:Michael Vogt1-6/+8
- only run ioctl for termios.TIOCGWINSZ if the fd is a tty
2010-03-01* apt/progress/text.py:Julian Andres Klode1-2/+0
- Drop InstallProgress, it's useless to keep this alias around.
2010-01-17apt/progress/text.py: Replace one print statement with a .write() call.Julian Andres Klode1-1/+1
2010-01-15Make all class-level constants have uppercase names.Julian Andres Klode1-1/+1
2009-07-31apt/progress: Large update, introducing apt.progress.base.InstallProgress.Julian Andres Klode1-0/+2
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes.
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode1-18/+18
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing.
2009-07-31apt/progress/base.py: Introduce new base progress classes.Julian Andres Klode1-20/+19
Also adjust the class in apt/progress/text.py to derive from this instead of the classes in apt_pkg (which will be dropped).
2009-07-23python/cdrom.cc: Do not check arguments in PkgCdromNew.Julian Andres Klode1-1/+1
2009-07-19apt/progress/text.py: Always call methods of the parent class.Julian Andres Klode1-1/+10
2009-07-19apt/progress/text.py: Add some docstrings.Julian Andres Klode1-0/+5
2009-07-19apt/progress/text.py: Introduce CdromProgress.Julian Andres Klode1-4/+27
2009-07-17apt: Use apt_pkg.gettext instead of Python's gettext.Julian Andres Klode1-4/+2
2009-07-17apt/progress/text.py: Improve final summary.Julian Andres Klode1-14/+22
2009-07-17apt/progress/text.py: Cleanup, add i18n (and try apt translation if we have ↵Julian Andres Klode1-40/+52
none).
2009-07-17apt/progress/text.py: Don't display complete items in AcquireProgress.fetchJulian Andres Klode1-0/+3
2009-07-16apt/progress/text.py: Limit number of displayed items by display size.Julian Andres Klode1-2/+8
2009-07-16apt/progress/text.py: Print status messages.Julian Andres Klode1-7/+6
2009-07-16apt/progress/text.py: 'Sync' AcquireProgress with the one used for apt-get.Julian Andres Klode1-18/+93
2009-07-16apt/progress/text.py: Introduce new progress classes for text.Julian Andres Klode1-0/+122
These are based on the new classes in apt_pkg and work better, because they correctly clear the screen.