On 12.8.2016 15:02, Petr Vobornik wrote:
On 08/12/2016 02:54 PM, Tibor Dudlak wrote:

I have edited my previous patch.

On Thu, Aug 11, 2016 at 11:52 AM, Jan Cholasta <jchol...@redhat.com
<mailto:jchol...@redhat.com>> wrote:


    On 11.8.2016 09:55, Tibor Dudlak wrote:



    +class login_x509(login_kerberos, KerberosSession, HTTP_Status):
    +    key = '/session/login_x509'

    login_kerberos already subclasses KerberosSession and HTTP_Status, no need
    to do it again here. In fact, it would be best to split off the bussiness
    logic from login_kerberos into a separate class and inherit both
    login_kerberos and login_x509 from it:

         class KerberosLogin(Backend, KerberosSession, HTTP_Status):
             def _on_finalize(self):

             def __call__(self, ...):

         class login_kerberos(KerberosLogin):
             key = '/session/login_kerberos'

         class login_x509(KerberosLogin):
             key = '/session/login_x509'


    Jan Cholasta

Thank jcholast for review, it should be all right now.

Tibor Dudlák
Intern - Identity management Special Projects
Red Hat

Tibor, please reuse the original thread and patch number in each patch
iteration. But append new patch version. E.g. freeipa-ddudla-0003-2-Added...

Starting new thread for each patch revision makes it hard to track.


As far as the patch is concerned, LGTM.

Jan Cholasta

Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to