mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00

Also, convert with context handlers in classes to functions with generators This makes the code a lot more readable
16 lines
183 B
Python
16 lines
183 B
Python
|
|
|
|
class Instance(object):
|
|
|
|
def __init__(self, name, image):
|
|
self.name = name
|
|
self.image = image
|
|
|
|
def boot(self):
|
|
pass
|
|
|
|
def shutdown(self):
|
|
pass
|
|
|
|
def destroy(self):
|
|
pass
|