summaryrefslogtreecommitdiff
path: root/rtemstoolkit/freebsd.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/freebsd.py')
-rw-r--r--rtemstoolkit/freebsd.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/rtemstoolkit/freebsd.py b/rtemstoolkit/freebsd.py
index 2842394..ed16140 100644
--- a/rtemstoolkit/freebsd.py
+++ b/rtemstoolkit/freebsd.py
@@ -35,16 +35,8 @@
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 check
- from . import execute
-except (ValueError, SystemError):
- import check
- import execute
+from rtemstoolkit import check
+from rtemstoolkit import execute
def cpus():
sysctl = '/sbin/sysctl '