fix import for python2

This commit is contained in:
Olivier R-D 2013-01-26 21:19:15 +01:00
parent 6554cae086
commit 5f127b3b97
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,6 @@ Python library to control an UR robot through its TCP/IP interface
from .urx import Robot, RobotException, URScript
from .urx import Robot, RobotException, URRobot
from .tracker import Tracker

View File

@ -54,6 +54,7 @@ TODO:
DOC LINK
http://support.universal-robots.com/URRobot/RemoteAccess
"""
from __future__ import absolute_import # necessary for import tricks to work with python2
__author__ = "Olivier Roulet-Dubonnet"
__copyright__ = "Copyright 2011-2012, Olivier Roulet-Dubonnet"
@ -63,6 +64,7 @@ __version__ = "0.3"
__status__ = "Development"
from threading import Thread, Lock, Condition
import socket
import time