summaryrefslogtreecommitdiff
path: root/rtemstoolkit/linux.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/linux.py')
-rw-r--r--rtemstoolkit/linux.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/rtemstoolkit/linux.py b/rtemstoolkit/linux.py
index 1d7f577..7e45409 100644
--- a/rtemstoolkit/linux.py
+++ b/rtemstoolkit/linux.py
@@ -36,16 +36,8 @@
import os
import platform
-#
-# 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
- from . import path
-except (ValueError, SystemError):
- import execute
- import path
+from rtemstoolkit import execute
+from rtemstoolkit import path
def cpus():
processors = '/bin/grep processor /proc/cpuinfo'