]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Make python objects inherit from 'object' base class
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 24 Jan 2013 13:15:06 +0000 (13:15 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 24 Jan 2013 14:13:26 +0000 (14:13 +0000)
commit2349d51fbe28fbd3042d1c170091176145ceb890
treef05cdab23ea3f99a8be25706adf882a717a40779
parentd200363ee6113c2d2e13f654ee6f9d68e2c9bdf4
Make python objects inherit from 'object' base class

As of python >= 2.2, it is recommended that all objects inherit
from the 'object' base class. We already require python >= 2.3
for libvirt for thread macro support, so we should follow this
best practice.

See also

  http://stackoverflow.com/questions/4015417/python-class-inherits-object

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
python/generator.py