Created
December 17, 2013 21:42
-
-
Save leifwalsh/8013084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@properties.renderer | |
def get_a(props): | |
return "Hello, %s" % props.getProperty("a") | |
@properties.renderer | |
def get_cmd(props): | |
return ["echo", get_a] | |
factory = factory.BuildFactory([shell.ShellCommand(command=get_cmd)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try rendering it yourself:
(untested)