Source

django-ipyfield / ipyfield / __init__.py

Full commit
Owen Nelson 0fd952f 
Owen Nelson 34b36e6 
Owen Nelson 90339a2 
Owen Nelson 0fd952f 

Owen Nelson 90339a2 









Owen Nelson 0fd952f 
__version__ = '0.1.4'

#import IPy


#class IP(IPy.IP):
#    """
#    Wrap IPy.IP to prevent AttributeError getting raised while comparing IP
#    instances to non-IP instances.
#    """
#    def __cmp__(self, other):
#        if not isinstance(other, IPy.IPint):
#            return -2
#        return super(IP, self).__cmp__(other)
#