diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2010-04-10 10:53:59 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2010-04-10 10:53:59 +0000 |
commit | c5c54d4d6486d85a151c6fcd4c5dcdaf2dfbcaf6 (patch) | |
tree | c6206fc6fa56332feda8428a38858a8df48f9714 /ebus/__init__.py | |
parent | ad031278c0e4a4108d5a56d99ddc7ce1030a80a0 (diff) | |
download | ebus-alt-c5c54d4d6486d85a151c6fcd4c5dcdaf2dfbcaf6.tar.gz ebus-alt-c5c54d4d6486d85a151c6fcd4c5dcdaf2dfbcaf6.zip |
include rev number in egg name
git-svn-id: http://10.2.2.13/svn/common/ebus@1640 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'ebus/__init__.py')
-rw-r--r-- | ebus/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebus/__init__.py b/ebus/__init__.py index 8b75043..94b0b32 100644 --- a/ebus/__init__.py +++ b/ebus/__init__.py @@ -253,7 +253,7 @@ class EbusReader(asynchat.async_chat): #0xaa bug i = 0 data = "" - while i < len(dataRaw)+1: + while (i+1) < len(dataRaw): if ord(dataRaw[i]) == 0xaa and ord(dataRaw[i+1]) == 0x01: data += "\xaa" i = i + 1 |