Issue 2 in iso8583py: Bit 52 nor working ...

7 views
Skip to first unread message

codesite...@google.com

unread,
Aug 14, 2009, 9:47:55 PM8/14/09
to iso858...@googlegroups.com
Status: New
Owner: igorvc
Labels: Type-Defect Priority-High OpSys-All

New issue 2 by igorvc: Bit 52 nor working ...
http://code.google.com/p/iso8583py/issues/detail?id=2

What steps will reproduce the problem?
1. p.setBit(52,"00000105")

What is the expected output? What do you see instead?

Want that the bit is set!

The bit wasn't set. But if you started debug you can see the bit inside the
bitmap is set, but the value not.

What version of the product are you using? On what operating system?
Last version, Any.


In log we can see the execution of example1.py with p.setBit(52,"00000105")
in debug mode.

Attachments:
log 16.2 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Aug 14, 2009, 10:17:00 PM8/14/09
to iso858...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 2 by igorvc: Bit 52 nor working ...
http://code.google.com/p/iso8583py/issues/detail?id=2

Fixed. Revision 22.

Changes:
=== modified file 'ISO8583/ISO8583.py'
--- ISO8583/ISO8583.py 2009-04-25 15:02:10 +0000
+++ ISO8583/ISO8583.py 2009-08-15 02:13:15 +0000
@@ -384,8 +384,9 @@
if self.getBitType(bit) == 'LLL':
self.__setBitTypeLLL(bit, value)

- if self.getBitType(bit) == 'N' or self.getBitType(bit)
== 'A' or
self.getBitType(bit) == 'ANS':
+ if self.getBitType(bit) == 'N' or self.getBitType(bit)
== 'A' or
self.getBitType(bit) == 'ANS' or
self.getBitType(bit) == 'B':
self.__setBitTypeN(bit, value)
+

Reply all
Reply to author
Forward
0 new messages