vpp_papi: Use new style classes.
[vpp.git] / src / vpp-api / python / vpp_papi / vpp_stats.py
index 654cb82..8344de0 100644 (file)
@@ -138,7 +138,7 @@ def stat_entry_to_python(api, e):
     return None
 
 
-class VPPStats:
+class VPPStats(object):
     def __init__(self, socketname='/var/run/stats.sock', timeout=10):
         try:
             self.api = ffi.dlopen('libvppapiclient.so')