ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 36983: SyntaxWarning: name 'is_logger_setup' is assigned to before global declaration
Date Fri, 31 Jul 2015 10:49:38 GMT

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

Review request for Ambari and Myroslav Papirkovskyy.


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


Repository: ambari


Description
-------

Ambari agent shows warning on every ambari-server restart

    
    
    [root@c6406 ~]# ambari-agent restart
    Restarting ambari-agent
    Verifying Python version compatibility...
    Using python  /usr/bin/python2.6
    Found ambari-agent PID: 2978
    Stopping ambari-agent
    /usr/lib/python2.6/site-packages/ambari_agent/main.py:314: SyntaxWarning: name 'is_logger_setup'
is assigned to before global declaration
      global is_logger_setup
    

It's related to


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/main.py 857074c 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message