aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-01-26 15:43:21 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2017-02-14 11:16:19 -0800
commitac174eeb98cf8318f4acf2ae8f5c0e9d6df8c312 (patch)
tree8cff32708ceac91279e164a99c40878a507924ff
parentf970237c4f23ce6dd0a7dfd6e7fb2406fd442127 (diff)
collectd: typo and call super()
by convention is it good to always call super() even when inheriting from object Change-Id: I0618a4957c9a3e9858b0fd964d7c9e663b31b97f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
-rw-r--r--yardstick/network_services/nfvi/collectd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/network_services/nfvi/collectd.py b/yardstick/network_services/nfvi/collectd.py
index ea80e4ff8..f2c9d40a7 100644
--- a/yardstick/network_services/nfvi/collectd.py
+++ b/yardstick/network_services/nfvi/collectd.py
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-""" AMQP Consumer senario definition """
+""" AMQP Consumer scenario definition """
from __future__ import absolute_import
from __future__ import print_function
@@ -28,6 +28,7 @@ class AmqpConsumer(object):
ROUTING_KEY = 'collectd'
def __init__(self, amqp_url, queue):
+ super(AmqpConsumer, self).__init__()
self._connection = None
self._channel = None
self._closing = False