HUE-9010 [core] Handle failure of gethostbyaddr

Review Request #14312 — Created Sept. 24, 2019 and submitted

jgauthier
hue
master
HUE-9010
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit f1c65d039bbab4ccfbb45b8c7c69d2bec293e19c
Author: Jean-Francois Desjeans Gauthier <jf.desjeans.gauthier@gmail.com>
Date:   Tue Sep 24 09:36:09 2019 -0700

    HUE-9010 [core] Handle failure of gethostbyaddr

:100644 100644 8ad5c3962c... 2472a8f2b2... M	desktop/core/src/desktop/middleware.py


  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
romain
  1. 
      
  2. desktop/core/src/desktop/middleware.py (Diff revision 1)
     
     

    nit: 'as e' not needed

  3. desktop/core/src/desktop/middleware.py (Diff revision 1)
     
     

    nit: could move 'hosts = []' on top

    and only have one return:

    return set(host)

  4. 
      
jgauthier
jgauthier
Review request changed

Status: Closed (submitted)

Loading...