diff options
Diffstat (limited to 'utils/expand_info.py')
-rwxr-xr-x | utils/expand_info.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/expand_info.py b/utils/expand_info.py new file mode 100755 index 0000000..787b1f0 --- /dev/null +++ b/utils/expand_info.py @@ -0,0 +1,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) |