Well, main is not ported completely. A short look revealed the following misses:
aptdaemon/console.py, aptdaemon/gtkwidgets.py: - SizeToStr => size_to_str aptdaemon/core.py: - apt_pkg.Config.FindDir => apt_pkg.config.find_dir aptdaemon/worker.py: - self._cache.upgrade(distUpgrade=not safe_mode) => self._cache.upgrade(dist_upgrade=not safe_mode) - pkg.mark_install(False, True, pkg.is_auto_installed) should be pkg.mark_install(False, True, not pkg.is_auto_installed) aptdaemon/test/test_dpkg_journal.py: - apt_pkg.Config.Set => apt_pkg.config.set Furthermore, you are still using 'x.has_key(y)' instead of 'y in x'; which is also deprecated API everywhere in the Python world and not present in Python 3 builds. You can also use try/except KeyError in most cases, like I did in my patch. Take a look at the patch and you may find some more missing changes. -- Upgrade to the new python-apt API https://bugs.launchpad.net/bugs/550938 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
