From 65e23b2e4cc3df3e2242c72545496c56cd940027 Mon Sep 17 00:00:00 2001 From: Jared Grubb Date: Mon, 10 Feb 2014 13:15:04 -0800 Subject: [PATCH] Docs: add an 'import' in one spot to make the recipe easier to swallow --- master/docs/manual/cfg-properties.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/master/docs/manual/cfg-properties.rst b/master/docs/manual/cfg-properties.rst index e8df8a8176a..c6bcdbbdd1e 100644 --- a/master/docs/manual/cfg-properties.rst +++ b/master/docs/manual/cfg-properties.rst @@ -269,6 +269,7 @@ While Interpolate can handle many simple cases, and even some common conditional The ``renderer`` decorator creates a renderable object that will be replaced with the result of the function, called when the step it's passed to begins. The function receives an :class:`~buildbot.interfaces.IProperties` object, which it can use to examine the values of any and all properties. For example:: + from buildbot.process import properties @properties.renderer def makeCommand(props): command = [ 'make' ]