diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:07:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:07:41 +0000 |
commit | 76926159194e180003aa78de97e5f287bf4325a5 (patch) | |
tree | 2cea7245cdc3f66355900c820c145eba90598766 /utils/expand_info.py | |
parent | Initial commit. (diff) | |
download | python-apt-76926159194e180003aa78de97e5f287bf4325a5.tar.xz python-apt-76926159194e180003aa78de97e5f287bf4325a5.zip |
Adding upstream version 2.7.6.upstream/2.7.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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) |