Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-06 | Use a single code base for Python 2 and 3 | Julian Andres Klode | 1 | -1/+2 | |
This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code. | |||||
2014-01-06 | Use print_function everywhere | Julian Andres Klode | 1 | -1/+3 | |
This brings the code closer to Python 3. Automatically converted using 2to3 -f print. | |||||
2012-07-28 | Fix typos: the the -> the (closes: #679432) | Jakub Wilk | 1 | -1/+1 | |
2012-06-12 | Drop __del__ statement, which is unsafe: ↵ | Evan Dandrea | 1 | -4/+1 | |
http://www.algorithm.co.il/blogs/programming/python-gotchas-1-__del__-is-not-the-opposite-of-__init__/ | |||||
2012-06-12 | merge fix from lp:~ev/python-apt/dont-leak-fds, many thanks | Michael Vogt | 1 | -0/+4 | |
2011-12-01 | apt/progress/base.py: fix silly leftover from last commit | Michael Vogt | 1 | -2/+0 | |
2011-12-01 | py3 fixes/clean | Michael Vogt | 1 | -0/+2 | |
2011-12-01 | * apt/progress/base.py: | Michael Vogt | 1 | -1/+3 | |
- write exception text to stderr to avoid hidding exceptions like "pre-configure failed" from libapt (thanks to Jean-Baptiste Lallement) | |||||
2011-01-10 | merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr ↵ | Michael Vogt | 1 | -3/+3 | |
thinks the branches have nothing in common) | |||||
2010-03-01 | Some stylistic changes. | Julian Andres Klode | 1 | -6/+3 | |
2010-03-01 | Style fixes. | Julian Andres Klode | 1 | -2/+4 | |
2010-02-17 | apt/progress/old.py: move compat updateInterface here | Michael Vogt | 1 | -4/+0 | |
2010-02-17 | apt/progress/base.py: more compat fixes | Michael Vogt | 1 | -1/+8 | |
2010-02-17 | apt/progress/base.py: call pipe ends {write,status}_stream | Michael Vogt | 1 | -6/+6 | |
2010-02-17 | * apt/cache.py: | Michael Vogt | 1 | -7/+7 | |
- call install_progress.startUpdate()/finishUpdate() to keep compatibility with older code * apt/progress/base.py: - restore "self.statusfd, self.writefd" type, provide additional self.status_pipe and self.write_pipe file like objects | |||||
2010-02-02 | apt/progress/base.py: select.error objects do not have an errno attribute ↵ | Julian Andres Klode | 1 | -2/+2 | |
(Closes: #568005) | |||||
2010-01-20 | apt/progress/base.py: Add InstallProgress.dpkg_status_change. | Julian Andres Klode | 1 | -3/+8 | |
2010-01-17 | apt/progress/base.py: Fix some parsing of dpkg status fd. | Julian Andres Klode | 1 | -3/+9 | |
2010-01-17 | apt/progress/base.py: Use attributes of IOError and OSError object. | Julian Andres Klode | 1 | -6/+6 | |
Do not treat them as tuples, but use the attributes. This is way more 'modern'. | |||||
2010-01-15 | Make all class-level constants have uppercase names. | Julian Andres Klode | 1 | -1/+1 | |
2009-09-16 | Merge 0.7.13.0 - 0.7.13.3 from unstable. | Julian Andres Klode | 1 | -3/+15 | |
* apt/cache.py: - add actiongroup() method (backport from 0.7.92) - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() * apt/package.py: - Export if a package is an essential one (Closes: #543428) * python/depcache.cc: - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 * apt/cache.py: - Add raiseOnError option to Cache.update() (Closes: #545474) * apt/package.py: - Use the source version instead of the binary version in fetch_source(). * apt/progress/__init__.py: - Correctly ignore ECHILD by checking before EINTR (Closes: #546007) * apt/cache.py: - Convert argument to str in __getitem__() (Closes: #542965). | |||||
2009-07-31 | apt/progress: Large update, introducing apt.progress.base.InstallProgress. | Julian Andres Klode | 1 | -10/+125 | |
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes. | |||||
2009-07-31 | apt/progress/base.py: Introduce new base progress classes. | Julian Andres Klode | 1 | -0/+164 | |
Also adjust the class in apt/progress/text.py to derive from this instead of the classes in apt_pkg (which will be dropped). |