diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2003-02-20 00:30:54 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2003-02-20 00:30:54 +0000 |
commit | c77d94bf5a5483e0c979a57b51fa1d14988ab46f (patch) | |
tree | 01a6763b5f9231874de19b0b02552a2f8d1c2efb | |
parent | 1b10b9c4e70aeeb617e4e7cf0f8f6c1b7cbfaf1b (diff) | |
download | pyserial-git-c77d94bf5a5483e0c979a57b51fa1d14988ab46f.tar.gz |
removed dgux entry which actualy had a wrong comment and is probably not in use anywhere
-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) |