home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- import logging
- log = logging.getLogger('twitter_sp')
- import services.service_provider as SP
-
- class TwitterServiceProvider(SP.UsernamePasswordServiceProvider):
-
- def update_info(self, info):
- super(TwitterServiceProvider, self).update_info(info)
- self.post_ach_all = info.get('post_ach_all', True)
-
-
- def get_options(self, ctype):
- options = super(TwitterServiceProvider, self).get_options(ctype)
- if ctype == 'social':
- options['post_ach_all'] = getattr(self, 'post_ach_all', True)
-
- return options
-
-
-