home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1626 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  560 b   |  16 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import socket
  5. import sys
  6. if sys.hexversion < 33751040 or sys.platform == 'win32':
  7.     
  8.     def inet_aton(text):
  9.         if text == '255.255.255.255':
  10.             return '\xff\xff\xff\xff'
  11.         return socket.inet_aton(text)
  12.  
  13. else:
  14.     inet_aton = socket.inet_aton
  15. inet_ntoa = socket.inet_ntoa
  16.