diff options
author | Jiri Kastner <jkastner@redhat.com> | 2015-04-16 16:48:29 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2015-06-10 14:33:05 -0500 |
commit | e3239d19c18d98708f0ba5b5bc5df729e203a931 (patch) | |
tree | 2cf7adf79300b4621ad7d566171cc68249f0b5cf | |
parent | f2599820709edc986d5dcd9d383a6e3caec686d1 (diff) | |
download | rteval-e3239d19c18d98708f0ba5b5bc5df729e203a931.tar.gz |
rteval-cmd: load default configs when no config file is specified
Bugzilla: 1212452
When no configuration was specified on the command line, rteval was not
loading the default configuration file.
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
-rwxr-xr-x | rteval-cmd | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -205,7 +205,8 @@ if __name__ == '__main__': # Missing file argument raise RuntimeError('The -f option requires a file name to the configuration file') except ValueError: - # No configuration file given + # No configuration file given, load defaults + config.Load() pass if not config.HasSection('loads'): |