Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for mesos-0.25.0, mesos-native-0.25.0, mesos-interface-0.25.0. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions mesos-distcc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env python2.6

# Support Python 2.6+ and 3.
#!/usr/bin/env python2.7
# Support Python 2.7+ and 3.
from __future__ import print_function

import os
import random
import subprocess
import sys

import mesos
import mesos_pb2
from mesos import interface as mesos
from mesos import native as mesos_native
from mesos.interface import mesos_pb2


class DistCCScheduler(mesos.Scheduler):
Expand Down Expand Up @@ -191,7 +191,7 @@ if __name__ == '__main__':
framework.failover_timeout = 1.0
framework.checkpoint = False

driver = mesos.MesosSchedulerDriver(
driver = mesos_native.MesosSchedulerDriver(
DistCCScheduler(jobs, DISTCCD_PATH, sys.argv[1:]),
framework,
MESOS_MASTER)
Expand Down