From 6528ebfe4928a90c6e1cc67ca25b289b7ae93ffc Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 3 Jun 2008 21:48:19 +0200 Subject: * host, digital/asserv/tools, digital/avr/modules: - cleaned up python scripts hierarchy. --- digital/asserv/tools/test_goto.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'digital/asserv/tools/test_goto.py') diff --git a/digital/asserv/tools/test_goto.py b/digital/asserv/tools/test_goto.py index c2d27e9e..8def90af 100644 --- a/digital/asserv/tools/test_goto.py +++ b/digital/asserv/tools/test_goto.py @@ -1,18 +1,18 @@ import sys -sys.path.append (sys.path[0] + '/../../../host/proto') +sys.path.append (sys.path[0] + '/../../../host') from asserv import Asserv -import init -import popen_io +import asserv.init +import proto.popen_io import serial import random if sys.argv[1] == '!': - io = popen_io.PopenIO (sys.argv[2:]) - init = init.host + io = proto.popen_io.PopenIO (sys.argv[2:]) + init = asserv.init.host else: io = serial.Serial (sys.argv[1]) - init = init.target + init = asserv.init.target a = Asserv (io, **init) for i in xrange (10): x = random.randrange (2000) -- cgit v1.2.3