summaryrefslogtreecommitdiffstats
path: root/utils/expand_info.py
blob: 787b1f0c7629d3778f0fdcc85f10b0f7e718fad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/python3
#
# usage: ./utils/expand_info.py build/data/templates/Debian.info \
#                               /usr/share/distro-info/debian.csv

import sys

import aptsources.distinfo

for line in aptsources.distinfo._expand_template(sys.argv[1], sys.argv[2]):
    print(line)