diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2003-11-28 22:04:56 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2003-11-28 22:04:56 +0000 |
commit | 5e52fc71b576da04fcde7a7ad848f22b45d0a8fb (patch) | |
tree | 4010f8364a24e1f0950444c3c20ca630a9c82a6d /pyserial | |
parent | 5600e7c933126feb6a410aa37cc5701803983edb (diff) | |
download | pyserial-git-5e52fc71b576da04fcde7a7ad848f22b45d0a8fb.tar.gz |
get rid of nonascii charcaters
Diffstat (limited to 'pyserial')
-rw-r--r-- | pyserial/serial/serialposix.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyserial/serial/serialposix.py b/pyserial/serial/serialposix.py index 9340f97..aa3b562 100644 --- a/pyserial/serial/serialposix.py +++ b/pyserial/serial/serialposix.py @@ -13,7 +13,7 @@ import sys, os, fcntl, termios, struct, select from serialutil import * -VERSION = "$Revision: 1.18 $".split()[1] #extract CVS version +VERSION = "$Revision: 1.19 $".split()[1] #extract CVS version #Do check the Python version as some constants have moved. if (sys.hexversion < 0x020100f0): @@ -49,7 +49,7 @@ elif plat[:3] == 'bsd' or \ def device(port): return '/dev/cuaa%d' % port -elif plat[:4] == 'irix': #IRIX® (not tested) +elif plat[:4] == 'irix': #IRIX (not tested) def device(port): return '/dev/ttyf%d' % port @@ -57,7 +57,7 @@ elif plat[:2] == 'hp': #HP-UX (not tested) def device(port): return '/dev/tty%dp0' % (port+1) -elif plat[:5] == 'sunos': #Solaris®/SunOS® (confirmed) +elif plat[:5] == 'sunos': #Solaris/SunOS (confirmed) def device(port): return '/dev/tty%c' % (ord('a')+port) @@ -80,7 +80,7 @@ and with a bit luck you can get this module running... return '/dev/ttyS%d' % portnum #~ raise Exception, "this module does not run on this platform, sorry." -#whats up with "aix", "beos", "sco", .... +#whats up with "aix", "beos", .... #they should work, just need to know the device names. |