summaryrefslogtreecommitdiff
path: root/rtemstoolkit/darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/darwin.py')
-rw-r--r--rtemstoolkit/darwin.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/rtemstoolkit/darwin.py b/rtemstoolkit/darwin.py
index 0400174..f7ce0da 100644
--- a/rtemstoolkit/darwin.py
+++ b/rtemstoolkit/darwin.py
@@ -35,14 +35,7 @@
import os
-#
-# Support to handle use in a package and as a unit test.
-# If there is a better way to let us know.
-#
-try:
- from . import execute
-except (ValueError, SystemError):
- import execute
+from rtemstoolkit import execute
def cpus():
sysctl = '/usr/sbin/sysctl '