Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/c/ScrumDo-HEAD/scrumdo-web/apps/extras/plugins/github_issues/plugin.py   ScrumDo(Download)
                # The super class has a helper saveConfiguration method that will save a
                # dict of options for later retrieval by getConfiguration
                self.saveConfiguration( project.slug, configuration )
 
                if configuration.get("upload"):
            logging.warn("Failed to retrieve remote GitHub issues for project %s" % project.slug)
            configuration["status"] = "Failed to load your GitHub issues"
            self.saveConfiguration( project.slug, configuration )
            return
 
        configuration["status"] = "Synchronized with GitHub on " + str( datetime.date.today()  )
        logging.debug("pullProject complete, saving configuration.")
        self.saveConfiguration( project.slug, configuration )
 
    # def getExtraActions( self, project):
                traceback.print_exc(file=sys.stdout)
                configuration["status"] = "Syncronization failed to upload stories to GitHub on " + str( datetime.date.today()  )
                self.saveConfiguration( project.slug, configuration )
                return