summaryrefslogtreecommitdiffstats
path: root/aptsources/__init__.py
blob: 2ccf4fc64bd60c49c669073457d6f9ccc3c3ff13 (plain)
1
2
3
4
5
6
import apt_pkg

# init the package system, but do not re-initialize config
if "APT" not in apt_pkg.config:
    apt_pkg.init_config()
apt_pkg.init_system()