diff options
-rw-r--r-- | pyserial/serial/serialposix.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pyserial/serial/serialposix.py b/pyserial/serial/serialposix.py index 2ea26c7..ff4cd39 100644 --- a/pyserial/serial/serialposix.py +++ b/pyserial/serial/serialposix.py @@ -12,7 +12,7 @@ import sys, os, fcntl, termios, struct, string, select import serialutil -VERSION = string.split("$Revision: 1.14 $")[1] #extract CVS version +VERSION = string.split("$Revision: 1.15 $")[1] #extract CVS version PARITY_NONE, PARITY_EVEN, PARITY_ODD = range(3) STOPBITS_ONE, STOPBITS_TWO = (1, 2) @@ -64,10 +64,6 @@ elif plat[:5] == 'sunos': #Solaris®/SunOS® (confirmed) def device(port): return '/dev/tty%c' % (ord('a')+port) -elif plat[:3] == 'dgux': #Digital UNIX® (not tested) - def device(port): - return '/dev/tty0%d' % (port+1) - else: #platform detection has failed... info = "sys.platform = %r\nos.name = %r\nserialposix.py version = %s" % (sys.platform, os.name, VERSION) |