Skip to content

Commit

Permalink
change.properties is a IProperties, so api is getProperty()
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
  • Loading branch information
Pierre Tardy committed Feb 24, 2015
1 parent 74f5969 commit 3e369a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/changes/filter.py
Expand Up @@ -83,7 +83,7 @@ def filter_change(self, change):
return False
for chg_attr, (filt_list, filt_re, filt_fn) in self.checks.items():
if chg_attr.startswith("prop:"):
chg_val = change.properties.get(chg_attr.split(":", 1)[1], '')
chg_val = change.properties.getProperty(chg_attr.split(":", 1)[1], '')
else:
chg_val = getattr(change, chg_attr, '')
if filt_list is not None and chg_val not in filt_list:
Expand Down

0 comments on commit 3e369a6

Please sign in to comment.