def get_package_configuration(self, codepath):
        pkg = self.get_package_by_codepath(codepath)

        if not hasattr(pkg.module, 'configuration'):
            return None
        else:
            c = pkg.module.configuration
            if not isinstance(c, ConfigurationObject):
                d = "'configuration' attribute should be a ConfigurationObject"
                raise self.PackageInternalError(codepath, d)
            return c
Given a list of lists, make sure they are prepared to be formatted into a table
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/packagemanager.py/PackageManager.get_package_configuration--crossover with--dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/prepare_table_rows