diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-11 23:28:35 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-11 23:28:35 (GMT) |
commit | 9f2aedf38e66a3523d1c130f96424d9f0cc4b3f8 (patch) | |
tree | 5d379416a0a7c4b04cb58a3d7e2d6be82af7a72b /rfid/serial/__init__.py | |
parent | 5e090403588fd032ff249bb0089de56383e40cf3 (diff) |
moved to ./plugins/lib/
Diffstat (limited to 'rfid/serial/__init__.py')
-rw-r--r-- | rfid/serial/__init__.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rfid/serial/__init__.py b/rfid/serial/__init__.py deleted file mode 100644 index 681ad5c..0000000 --- a/rfid/serial/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -#portable serial port access with python -#this is a wrapper module for different platform implementations -# -# (C)2001-2002 Chris Liechti <cliechti@gmx.net> -# this is distributed under a free software license, see license.txt - -VERSION = '2.4' - -import sys - -if sys.platform == 'cli': - from serialcli import * -else: - import os - #chose an implementation, depending on os - if os.name == 'nt': #sys.platform == 'win32': - from serialwin32 import * - elif os.name == 'posix': - from serialposix import * - elif os.name == 'java': - from serialjava import * - else: - raise Exception("Sorry: no implementation for your platform ('%s') available" % os.name) - |