Commit 57bfd4cf by Dudás Ádám

vm: fix method ordering

parent cd6e094f
...@@ -26,14 +26,14 @@ class Operation: ...@@ -26,14 +26,14 @@ class Operation:
async_queue = 'localhost.man' async_queue = 'localhost.man'
required_perms = () required_perms = ()
def __call__(self, **kwargs):
return self.call(**kwargs)
def __init__(self, instance): def __init__(self, instance):
"""Initialize a new operation bound to the specified VM instance. """Initialize a new operation bound to the specified VM instance.
""" """
self.instance = instance self.instance = instance
def __call__(self, **kwargs):
return self.call(**kwargs)
def __unicode__(self): def __unicode__(self):
return self.name return self.name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment