~zyga/checkbox/flexible-resources

Viewing all changes in revision 3480.

  • Committer: Zygmunt Krynicki
  • Date: 2014-12-05 14:13:11 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20141205141311-c5oimruqeaqg04hy
plainbox:resource: allow {True,False} expressions

This patch changes the static analyzer for resource programs to allow
the constants True and False to be used. This, coupled with the
preceeding patch, allows False to be used as a simple constant
expression that causes a job to be skipped all the time.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: