diff options
author | Von Random <von@vdrandom.org> | 2019-06-17 12:48:43 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2019-06-17 12:48:43 +0300 |
commit | 9902696f1ff34757682594f8dd39d343109723af (patch) | |
tree | ff7607a3c28e48569d941da85e1e4d86bf7e55ff | |
parent | c3700821af265430b8a5d950d2c5ce4518b81e25 (diff) |
vdstatus: replace deprecated yaml.load() with yaml.safe_load() call
-rwxr-xr-x | vdstatus | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ class PluginRunner: self.conf = dict() self.conf.update(DEFAULTS) with open(config_file) as config_data: - self.conf.update(yaml.load(config_data)) + self.conf.update(yaml.safe_load(config_data)) self.plugins_loaded = list() self.format_output = self.format_term for plugin in self.conf['plugins']: |