(self, url, credential, email)
return self._write_all(auths)
Put credential in keystore for given url
Put credential in keystore for given url
Put credential in keystore for given url
def put(self, url, credential, email):
        """Put credential in keystore for given url"""
        if not credential:
            return 1
        auths = self._read_all()
        auths[url] = {"auth": credential, "email": email, }
        self._shred()
        return self._write_all(auths)
def put ( self , url , credential , email ) : if not credential : return 1 auths = self . _read_all ( ) auths [ url ] = { "auth" : credential , "email" : email , } self . _shred ( ) return self . _write_all ( auths )