summaryrefslogtreecommitdiff
path: root/host/inter
diff options
context:
space:
mode:
authorNicolas Schodet2008-06-03 21:48:19 +0200
committerNicolas Schodet2008-06-03 21:48:19 +0200
commit6528ebfe4928a90c6e1cc67ca25b289b7ae93ffc (patch)
tree90c794d4d30af65b1f96b8934a7225eb03f580a3 /host/inter
parent384e257d56a053a7ef5f85dacf05632c24042ecd (diff)
* host, digital/asserv/tools, digital/avr/modules:
- cleaned up python scripts hierarchy.
Diffstat (limited to 'host/inter')
-rw-r--r--host/inter/__init__.py0
-rw-r--r--host/inter/inter_node.py6
-rw-r--r--host/inter/test/test_drawable.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/host/inter/__init__.py b/host/inter/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/host/inter/__init__.py
diff --git a/host/inter/inter_node.py b/host/inter/inter_node.py
index 8e51b953..96648c6f 100644
--- a/host/inter/inter_node.py
+++ b/host/inter/inter_node.py
@@ -24,7 +24,7 @@
"""Inter, coupled with a mex Node."""
if __name__ == '__main__':
import sys
- sys.path.append (sys.path[0] + '/../mex')
+ sys.path.append (sys.path[0] + '/..')
from inter import Inter, Obstacle
from dist_sensor import DistSensor
@@ -206,9 +206,9 @@ class InterNode (Inter):
if __name__ == '__main__':
import mex.hub
- import mex.forked
+ import utils.forked
h = mex.hub.Hub (min_clients = 1)
- fh = mex.forked.Forked (h.wait)
+ fh = utils.forked.Forked (h.wait)
try:
app = InterNode ()
app.mainloop()
diff --git a/host/inter/test/test_drawable.py b/host/inter/test/test_drawable.py
index 31200252..79948e12 100644
--- a/host/inter/test/test_drawable.py
+++ b/host/inter/test/test_drawable.py
@@ -1,7 +1,7 @@
import sys
-sys.path.append (sys.path[0] + '/..')
+sys.path.append (sys.path[0] + '/../..')
-from drawable import *
+from inter.drawable import *
from math import pi
class Test (Drawable):