A simple python script to walk a catalog hierarchy

This script walks through a catalog hierarchy and allows to execute a SQL statement in each catalog