File: set-maintainer.py

package info (click to toggle)
debmutate 0.80
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 588 kB
  • sloc: python: 8,346; makefile: 12; sh: 1
file content (7 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/usr/bin/python3

from debmutate.control import ControlEditor

with ControlEditor(path="debian/control") as control:
    print(control.source["Maintainer"])
    control.source["Maintainer"] = "Jelmer Vernooij <jelmer@debian.org>"