Re: Using python to get a list of repositories, including RHEL

2021-11-02 Thread stan via users
On Mon, 01 Nov 2021 21:52:33 - "Philip Kauffman" wrote: The two commands you are using do different things, I think. I didn't go deeply into the differences, but they are using different code paths, so that is the likely explanation. > My goal is to use a python script to get all a systems

Re: Using python to get a list of repositories, including RHEL

2021-11-01 Thread James Szinger
On Mon, 01 Nov 2021 21:52:33 - "Philip Kauffman" wrote: > My goal is to use a python script to get all a systems repositories > in a data structure (list,dict,whatever). I've gotten most of the way > there with the below which is able to get all repositories in > /etc/yum.repos.d/*.repo. Howev

Using python to get a list of repositories, including RHEL

2021-11-01 Thread Philip Kauffman
Forgive my ignorance: I'm a long time Debian/Ubuntu user and admin, so I'm not up on all the things everyone might take to be normal. My goal is to use a python script to get all a systems repositories in a data structure (list,dict,whatever). I've gotten most of the way there with the below wh