Пример #1
0
 def __init__(self):
     self.executive = executive.Executive()
     self.filesystem = filesystem.FileSystem()
     self.user = user.User()
     self.platform = platforminfo.PlatformInfo(sys, platform,
                                               self.executive)
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
 def __init__(self):
     self.executable = sys.executable
     self.executive = executive.Executive()
     self.filesystem = filesystem.FileSystem()
     self.user = user.User()
     self.platform = platforminfo.PlatformInfo(sys, platform,
                                               self.executive)
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
     self.stdin = sys.stdin
     self.stdout = sys.stdout
     self.stderr = sys.stderr
Пример #3
0
 def __init__(self):
     self.bugs = bugzilla.Bugzilla()
     self.buildbot = buildbot.BuildBot()
     self.executive = executive.Executive()
     self._irc = None
     self.filesystem = filesystem.FileSystem()
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
     self._port = None
     self.user = user.User()
     self._scm = None
     self._checkout = None
     self.status_server = statusserver.StatusServer()
     self.port_factory = port.factory
     self.platform = platforminfo.PlatformInfo()
Пример #4
0
 def __init__(self):
     self.bugs = bugzilla.Bugzilla()
     self.buildbot = buildbot.BuildBot()
     self.executive = executive.Executive()
     self.web = web.Web()
     self._irc = None
     self.filesystem = filesystem.FileSystem()
     self.workspace = workspace.Workspace(self.filesystem, self.executive)
     self._port = None
     self.user = user.User()
     self._scm = None
     self._checkout = None
     self.status_server = statusserver.StatusServer()
     # FIXME: Unfortunately Port objects are currently the central-dispatch objects of the NRWT world.
     # In order to instantiate a port correctly, we have to pass it at least an executive, user, scm, and filesystem
     # so for now we just pass along the whole Host object.
     self.port_factory = PortFactory(self)
     self.platform = platforminfo.PlatformInfo()