File: __init__.py

package info (click to toggle)
python-apt 3.0.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,064 kB
  • sloc: cpp: 10,310; python: 8,803; makefile: 94; sh: 17
file content (6 lines) | stat: -rw-r--r-- 155 bytes parent folder | download
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()