home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 January / maximum-cd-2012-01.iso / DiscContents / digsby_setup.exe / lib / plugins / provider_yahoo / yahoo_service_provider.pyo (.txt) < prev   
Encoding:
Python Compiled Bytecode  |  2011-10-05  |  1.0 KB  |  23 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import util.net as net
  5. import hooks
  6. import services.service_provider as SP
  7.  
  8. class YahooServiceProvider(SP.EmailPasswordServiceProvider):
  9.     
  10.     def update_info(self, kwds):
  11.         super(YahooServiceProvider, self).update_info(kwds)
  12.         self.updatefreq = kwds.get('updatefreq', 300)
  13.  
  14.     
  15.     def get_options(self, ctype):
  16.         options = super(YahooServiceProvider, self).get_options(ctype)
  17.         if ctype == 'email':
  18.             options['updatefreq'] = self.updatefreq
  19.         
  20.         return options
  21.  
  22.  
  23.