HUE-8236 [core] Fix evaluate conf value in math expression

Review Request #12879 - Created April 23, 2018 and submitted

Ying Chen
hue
master
HUE-8236
hue
enricoberti, jgauthier, johan, ranade, romain, weixia
commit 0724a63e16fda3b74f5f59a1b8281d1238c1b518 (HEAD -> master)
Author: Ying Chen <yingchen@cloudera.com>
Date:   Mon Apr 23 11:31:28 2018 -0700

    HUE-8236 [core] Correct Hue config value use integer instead of math expression

:100644 100644 628b0edf69... aa918abccf... M    desktop/conf.dist/hue.ini
:100644 100644 f2a63b95b7... 4ade1df6d9... M    desktop/conf/pseudo-distributed.ini.tmpl


  • 0
  • 0
  • 0
  • 3
  • 3
Description From Last Updated
  1. Hum, should we actually not propose it?

    https://stackoverflow.com/questions/2371436/evaluating-a-mathematical-expression-in-a-string

    (and fix the ini templates with a proper number?) (like we do everywhere)

  2. desktop/core/src/desktop/lib/conf.py (Diff revision 1)
     
     

    except Exception as e:

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

    And remove this? (raisin an exception will automatically log it)

  4. desktop/core/src/desktop/lib/conf.py (Diff revision 1)
     
     

    hue --> Hue

  5. 
      
  1. Ship It!
  2. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...