solj/bcfg2 — pull request #107 by dekkers (2011-11-23 23:40:20+00:00)
Title: Use new python-apt API

This patch uses the new python-apt API, because the old one isn't supported anymore since python-apt 0.8 (Debian wheezy and Ubuntu oneiric). It also implements a fallback to the old API, because the python-apt version in Debian lenny and Ubuntu hardy don't implement the new API yet.