collectd: typo and call super() 53/28653/1
authorRoss Brattain <ross.b.brattain@intel.com>
Thu, 26 Jan 2017 23:43:21 +0000 (15:43 -0800)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 14 Feb 2017 19:16:19 +0000 (11:16 -0800)
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>
yardstick/network_services/nfvi/collectd.py

index ea80e4f..f2c9d40 100644 (file)
@@ -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