-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30468/
-----------------------------------------------------------

(Updated Feb. 3, 2015, 7:11 p.m.)


Review request for Ambari, Dmytro Sen, Jayush Luniya, and Mahadev Konar.


Changes
-------

Fixed return value inconsistencies.
Fixed unit tests.


Bugs: AMBARI-9341
    https://issues.apache.org/jira/browse/AMBARI-9341


Repository: ambari


Description
-------

sys.exit() should never be braced in a try/except. The behavior changed in 
Python 2.5. See the doc.


Diffs (updated)
-----

  ambari-server/src/main/python/setupAgent.py 
b2c2d255278d803a7fde71056500688ef85a7d68 
  ambari-server/src/test/python/TestSetupAgent.py 
249ce0b15828f5508f072573dae26158b1b0470b 

Diff: https://reviews.apache.org/r/30468/diff/


Testing
-------

Bootstrap in a local CentOS 5 cluster.


Thanks,

Florian Barca

Reply via email to