bootstrap-vz/bootstrapvz/remote/build_servers/local.py

17 lines
315 B
Python
Raw Normal View History

from build_server import BuildServer
from contextlib import contextmanager
class LocalBuildServer(BuildServer):
@contextmanager
def connect(self):
yield LocalConnection()
class LocalConnection(object):
def run(self, *args, **kwargs):
from bootstrapvz.base.main import run
return run(*args, **kwargs)