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

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

src/s/c/ScrumDo-HEAD/scrumdo-web/apps/extras/interfaces.py   ScrumDo(Download)
    def getConfiguration(self, project_slug ):
        """ Gets a configuration object (usually a dictionary) from the ExtraConfiguration table. """
        try:
            config = ExtraConfiguration.objects.get( extra_slug=self.getSlug(), project_slug=project_slug)
        except ObjectDoesNotExist:
 
        try:
            config = ExtraConfiguration.objects.get( extra_slug=self.getSlug(), project_slug=project_slug)
        except ObjectDoesNotExist:
            config = ExtraConfiguration( project_slug=project_slug, extra_slug=self.getSlug() )