diff options
author | David Sommerseth <davids@redhat.com> | 2012-12-19 17:07:38 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-12-19 17:07:38 +0100 |
commit | 77fcdf51e62efa910eb25eb055fa8909f6ea71cf (patch) | |
tree | a61801f276a4efb20d1622d37e8ea508eb730f23 /rteval-cmd | |
parent | 96d0f3853fbac2b05dfb9fa97372f3a354083dd2 (diff) | |
download | rteval-77fcdf51e62efa910eb25eb055fa8909f6ea71cf.tar.gz rteval-77fcdf51e62efa910eb25eb055fa8909f6ea71cf.tar.xz rteval-77fcdf51e62efa910eb25eb055fa8909f6ea71cf.zip |
Instead of passing the config class a few places, save it in __init__()
This cleans up the API a little bit, and lets the configuration access
become a bit easier in the load and measurement classes.
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval-cmd')
-rwxr-xr-x | rteval-cmd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ if __name__ == '__main__': # parse command line options parser = optparse.OptionParser() - loadmods.SetupModuleOptions(parser, config) + loadmods.SetupModuleOptions(parser) measuremods.SetupModuleOptions(parser) cmd_args = parse_options(config, parser, sys.argv[1:]) |