fixing typo'd syntax error

This commit is contained in:
Tim Flink 2017-03-16 17:24:22 +00:00
parent b5053e10ab
commit aa13337924

View file

@ -253,7 +253,7 @@ distgit_factory = BuildFactory()
# clean out /var/tmp/taskotron (see T253)
distgit_factory.addStep(ShellCommand(command=Interpolate("rm -rf /var/tmp/taskotron/%(prop:slavename)s/*"), name="rm_tmp", descriptionDone=['Clean tmp']))
{% if deployment_type ['dev', 'prod'] %}
{% if deployment_type in ['dev', 'prod'] %}
# check out the source from prod dist-git
distgit_factory.addStep(Git(repourl=Property('repo', default=Interpolate('http://pkgs01.phx2.fedoraproject.org/rpms/{}/'.format("%(prop:item)s".split('-')[0]))),
branch=Property('branch', default='master'),