#354 Do not override "global" whitelist with handler-specific whitelist in handler.allow_build().
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker whitelist-overriden  into  master

Download 354.patch

The conf.handler_build_whitelist.get() returns directly the dict from the whitelist.
We later called .update() on that dict which effectively changed it in
the conf.handler_build_whitelist.

In this commit, we created copy of that dict instead so the update() does not get
it into the Config class itself and stays local in allow_build method.

rebased onto d6e72d220c546098abd37a0276659aa88eafe44b

Pull-Request has been merged by jkaluza

Metadata