mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
16 lines
343 B
Python
16 lines
343 B
Python
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)
|