Changeset 1456 for proto/FIX


Ignore:
Timestamp:
Sep 15, 2011, 6:59:57 PM (8 years ago)
Author:
cameron
Message:

Use pablo. in place of bitutil.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/FIX/fix.py

    r1319 r1456  
    4949        # Assume for now that all SOHs are field separators, not data.
    5050        # Use negated SOH stream to shift in a 1 at start-of-file.
    51         starts = ~bitutil.Advance(~fix_lex.SOH)
    52         EOF_pos = bitutil.Advance(EOF_mask) &~ EOF_mask
     51        starts = ~pablo.Advance(~fix_lex.SOH)
     52        EOF_pos = pablo.Advance(EOF_mask) &~ EOF_mask
    5353        msg_starts = starts & EOF_mask
    5454        error1 = EOF_pos &~ starts
    5555        error2 = msg_starts &~ allowed_leading_digit
    56         field_ends = bitutil.ScanThru(msg_starts, fix_lex.Digit)
     56        field_ends = pablo.ScanThru(msg_starts, fix_lex.Digit)
    5757        error3 = field_ends &~ fix_lex.Equals
    5858        error = error1 | error2 | error3
Note: See TracChangeset for help on using the changeset viewer.