Forked from anonymous/gist:76b965cc4f41d39615e2
Last active
November 22, 2015 00:28
-
-
Save kennethlove/b20d10130d59abd3998d 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
def create_deploys(self): | |
''' Separate out the deploys from the rest of the tasks section | |
and return them. | |
''' | |
# rdeploys = [step for step in self.tasks['tasks'] if 'rdepoy' in step] | |
return filter(lambda s: 'rdeploy' in s, self.tasks['tasks']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment