Changeset 93c865a for fedd


Ignore:
Timestamp:
Mar 4, 2010 3:16:13 PM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
632dd59
Parents:
0ac1934
Message:

Support longs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/ip_addr.py

    r0ac1934 r93c865a  
    77        elif isinstance(x, int):
    88            self.ival = x
     9        elif isinstance(x, long):
     10            self.ival = (int(x & 0xffffffff))
    911        elif isinstance(x, str):
    1012            self.ival = 0
Note: See TracChangeset for help on using the changeset viewer.