Using this answer and others in the thread.
https://stackoverflow.com/a/15848928/25531
This works perfectly fine on my local 2.7 in my Ubuntu VM but on our Oracle Linux server that's running 2.6.6 it only returns the last entry and not all of them in a list.
Is there a way to workaround for this by any chance?
We can't upgrade the python either.