def fetch_github_activity(gen, metadata):
 if (u'GITHUB_ACTIVITY_FEED' in gen.settings.keys()):
  gen.context[u'github_activity'] = gen.plugin_instance.fetch()

def fetch_github_activity ( gen , metadata ) : if ( u'GITHUB_ACTIVITY_FEED' in gen . settings . keys ( ) ) : gen . context [ u'github_activity' ] = gen . plugin_instance . fetch ( )
registered handler for the github activity plugin it puts in generator .