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

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

src/p/t/ptahcrowd-HEAD/ptahcrowd/resetpassword.py   ptahcrowd(Download)
 
            if principal is not None and \
                   ptah.pwd_tool.can_change_password(principal):
                passcode = ptah.pwd_tool.generate_passcode(principal)
 
    def update(self):
        self.principal = principal = ptah.pwd_tool.get_principal(self.passcode)
 
        if principal is not None and \
               ptah.pwd_tool.can_change_password(principal):

src/p/t/ptah_crowd-0.1/ptah_crowd/resetpassword.py   ptah_crowd(Download)
 
            if principal is not None and \
                   ptah.pwd_tool.can_change_password(principal):
                passcode = ptah.pwd_tool.generate_passcode(principal)
 
 
        if principal is not None and \
               ptah.pwd_tool.can_change_password(principal):
            self.passcode = passcode
            self.title = principal.name or principal.login

src/p/t/ptahcrowd-0.2/ptahcrowd/resetpassword.py   ptahcrowd(Download)
 
            if principal is not None and \
                   ptah.pwd_tool.can_change_password(principal):
                passcode = ptah.pwd_tool.generate_passcode(principal)
 
 
        if principal is not None and \
               ptah.pwd_tool.can_change_password(principal):
            self.passcode = passcode
            self.title = principal.name or principal.login