Skip to content

Commit

Permalink
Fixing imports for mesos
Browse files Browse the repository at this point in the history
  • Loading branch information
kellrott committed Apr 21, 2015
1 parent d3287fa commit fe3e919
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pulsar/mesos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
""" This module and submodules contain code for interfacing the Apache Mesos framework.
"""
try:
from mesos import (
from mesos.interface import (
Scheduler,
Executor,
Executor
)
from mesos.native import (
MesosSchedulerDriver,
MesosExecutorDriver,
MesosExecutorDriver
)
except ImportError:
Scheduler = object
Executor = object
MesosSchedulerDriver = None
MesosExecutorDriver = None
try:
import mesos_pb2
from mesos.interface import mesos_pb2
except ImportError:
mesos_pb2 = None

Expand Down

0 comments on commit fe3e919

Please sign in to comment.