separate master modules

This commit is contained in:
Sebastien Bourdeauducq 2015-01-14 12:16:49 +08:00
parent c0bdc92b18
commit 070788a680
6 changed files with 4 additions and 4 deletions

0
artiq/master/__init__.py Normal file
View File

View File

@ -2,7 +2,7 @@ import asyncio
from time import time
from artiq.management.sync_struct import Notifier
from artiq.management.worker import Worker
from artiq.master.worker import Worker
class Scheduler:

View File

@ -26,7 +26,7 @@ class Worker:
@asyncio.coroutine
def create_process(self):
self.process = yield from asyncio.create_subprocess_exec(
sys.executable, "-m", "artiq.management.worker_impl",
sys.executable, "-m", "artiq.master.worker_impl",
stdout=subprocess.PIPE, stdin=subprocess.PIPE)
@asyncio.coroutine

View File

@ -7,8 +7,8 @@ import atexit
from artiq.management.pc_rpc import Server
from artiq.management.sync_struct import Publisher
from artiq.management.db import FlatFileDB, SimpleHistory
from artiq.management.scheduler import Scheduler
from artiq.management.rt_results import RTResults
from artiq.master.scheduler import Scheduler
from artiq.master.rt_results import RTResults
def _get_args():