commit | 090eee44f0c4a8795b06c8053ebb0402a074adcc | [log] [tgz] |
---|---|---|
author | Simon Pasquier <spasquier@mirantis.com> | Wed Mar 08 11:12:49 2017 +0100 |
committer | Simon Pasquier <spasquier@mirantis.com> | Wed Mar 08 11:12:49 2017 +0100 |
tree | 03a25612baffbbf07c302708784802bff2b8bb60 | |
parent | 1cfe5ad012cf05d3e3146ce54a294b887ecc0077 [diff] |
Fix wrong exception name in collectd_base.py Change-Id: Ic1f867009e305e44d021d229abd54c37264ffc26
diff --git a/collectd/files/plugin/collectd_base.py b/collectd/files/plugin/collectd_base.py index 7959e75..6643693 100644 --- a/collectd/files/plugin/collectd_base.py +++ b/collectd/files/plugin/collectd_base.py
@@ -139,7 +139,7 @@ 'meta': {'tagA': 'valA'}} {'type': 'dropped_bytes', 'values': [1,2]} """ - raise NotImplemented("Must be implemented by the subclass!") + raise NotImplementedError("Must be implemented by the subclass!") def dispatch_metric(self, metric): values = metric['values']