Changeset b9ec635


Ignore:
Timestamp:
Sep 19, 2012 4:02:39 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
8212638
Parents:
2f45140
Message:

Parse other string subclasses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/deter/ip_addr.py

    r2f45140 rb9ec635  
    99        elif isinstance(x, long):
    1010            self.ival = (int(x & 0xffffffff))
    11         elif isinstance(x, str):
     11        elif isinstance(x, basestring):
    1212            self.ival = 0
    1313            sh = 24
Note: See TracChangeset for help on using the changeset viewer.