On Tue, Feb 3, 2015, at 09:32 AM, Daniel Mach wrote: > +Then you can do following: > +get koji profile_name from your config or code > +>>> koji_module = __import__(profile_name)
I'd say we should recommend against adding these to the global Python path; e.g. it would be weird if "import centos" happened to be a koji configuration. Options here are to enforce a naming scheme like "kojiconfig_$profile", or use a non-global import path like /usr/share/koji/profiles. -- buildsys mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/buildsys
