commit | 2e2cd80631489a47b24ac0747922b837fc0c81ef | [log] [tgz] |
---|---|---|
author | Elliot Poger <epoger@google.com> | Mon Jul 21 14:03:42 2014 -0400 |
committer | Elliot Poger <epoger@google.com> | Mon Jul 21 14:03:42 2014 -0400 |
tree | 14565301f21fa94b377a3f22845216e6af7f0336 | |
parent | fb32c5fbf4df5f7b3d2ae17cda411f5bd488d2ee [diff] |
use better mechanism for enums in gs_utils.py This will allow more flexible subclassing of the GSUtils class: subclasses will automatically inherit the various constants. That more flexible subclassing will allow us to easily wrap common's gs_utils.py with an extended version within the buildbot repo, as discussed in https://codereview.chromium.org/405653004/diff/20001/slave/skia_slave_scripts/build_step.py#newcode60 R=borenet@google.com Review URL: https://codereview.chromium.org/405083005