def main(): locations, words = adjustsettings.pull_params() if params.topics_run == True: print locations, words, 'topic run' with fuckit: add_topics(words) if params.groups_run == True: with fuckit: groups(locations) if params.events_and_members_run == True: with fuckit: events_and_members() if params.rsvps_run == True: with fuckit: rsvp() print '---'
def main(): locations, words = adjustsettings.pull_params() if params.rsvps_run == True: with fuckit: rsvp() print '---'
def main(): locations, words = adjustsettings.pull_params() print locations, words, 'stf' groups(locations) if params.groups_run == True: with fuckit: groups(locations)
# return '' # else: # return response def inspect_function(attr, key, grp_index, response): if attr in response[grp_index]: return (response[grp_index][attr], ) else: return (None, ) print "none" if __name__ == "__main__": created_time = (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), ) locations, words = adjustsettings.pull_params() print locations for location in locations: main(21681, created_time, location, 'startup') print params.topic_order print params.topic_limit topic_ids, keyword = topics.select_topic_ids(params.topic_order, params.topic_limit) # created_time= (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"),) print topic_ids # for topic_id in topic_ids: # main(topic_id, created_time, location)