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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import dns.rdtypes.mxbase as dns
  5.  
  6. class AFSDB(dns.rdtypes.mxbase.UncompressedMX):
  7.     
  8.     def get_subtype(self):
  9.         return self.preference
  10.  
  11.     
  12.     def set_subtype(self, subtype):
  13.         self.preference = subtype
  14.  
  15.     subtype = property(get_subtype, set_subtype)
  16.     
  17.     def get_hostname(self):
  18.         return self.exchange
  19.  
  20.     
  21.     def set_hostname(self, hostname):
  22.         self.exchange = hostname
  23.  
  24.     hostname = property(get_hostname, set_hostname)
  25.  
  26.