def handle_new_picture(picture_id): foursquare_tasks.handle_new_picture(picture_id)
def handle_new_picture(picture_id): if features.use_foursquare(): LOGGER.info('handle_new_picture: dispatching to foursquare ..') foursquare_tasks.handle_new_picture(picture_id) else: LOGGER.info('handle_new_picture: foursquare not enabled, skipping.')