Comment 2 for bug 892148

Revision history for this message
klmitch (q-noreply) wrote :

You mean something like this in the ServiceCatalog class?

    def url_for(self, catalog_class, url):
        catalog = getattr(self, catalog_class)
        if catalog:
            return getattr(catalog, url + "_url")