API changed to new style class

This commit is contained in:
Sandy Walsh
2011-02-25 13:40:15 -08:00
parent c7f29151b5
commit 43bee22cb5

View File

@@ -25,7 +25,7 @@ FLAGS = flags.FLAGS
LOG = logging.getLogger('nova.scheduler.api')
class API:
class API(object):
"""API for interacting with the scheduler."""
def _call_scheduler(self, method, context, params=None):