Did I find the right examples for you? yes no

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

src/c/l/clo-summit-HEAD/app/lib/console/app/controller/console.py   clo-summit(Download)
            raise nologin
        else:
            if config.allow_any_user or util.is_my_website():
                pass                    # Do what the man says.
            else:
    def confirmPostRate(self):
        """Make sure anybody using the site doesn't post too quickly and use up resources."""
        if not util.is_my_website():
            return
 
                                  ]
 
        if util.is_my_website():
            self.values['my_website'] = True
            self.values['app'] = 'App Engine Console'
                session_key = engine.put()
 
        if util.is_my_website():
            self.values['ratelimit'] = self.PUBLIC_STATEMENT_LIMIT
 
    def get(self):
        if util.is_my_website():
            self.redirect('/console/help/about')
        else:
            self.redirect('/console/')

src/m/i/mils-secure-HEAD/app/console/app/controller/console.py   mils-secure(Download)
            raise nologin
        else:
            if config.allow_any_user or util.is_my_website():
                pass                    # Do what the man says.
            else:
    def confirmPostRate(self):
        """Make sure anybody using the site doesn't post too quickly and use up resources."""
        if not util.is_my_website():
            return
 
                                  ]
 
        if util.is_my_website():
            self.values['my_website'] = True
            self.values['app'] = 'App Engine Console'
                session_key = engine.put()
 
        if util.is_my_website():
            self.values['ratelimit'] = self.PUBLIC_STATEMENT_LIMIT
 
    def get(self):
        if util.is_my_website():
            self.redirect('/console/help/about')
        else:
            self.redirect('/console/')