This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 6043ef0   [MXNET-696][PYTHON][UNDEFINED NAME] import logging in 
ci/util.py (#12488)
6043ef0 is described below

commit 6043ef0b921898aa64b44314b0b3a2353060d8ac
Author: cclauss <[email protected]>
AuthorDate: Sat Sep 8 21:56:43 2018 +0200

     [MXNET-696][PYTHON][UNDEFINED NAME] import logging in ci/util.py (#12488)
    
    Fixes #12406 @larroy @marcoabreu @szha
    
    [flake8](http://flake8.pycqa.org) testing of 
https://github.com/apache/incubator-mxnet on Python 3.7.0
    
    $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source 
--statistics__
    ```
    ./ci/util.py:73:21: F821 undefined name 'logging'
                        logging.warning("Exception: %s, Retrying in %d 
seconds...", str(e), mdelay)
                        ^
    1     F821 undefined name 'logging'
    1
    ```
---
 ci/util.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ci/util.py b/ci/util.py
index 98605be..4d68b57 100644
--- a/ci/util.py
+++ b/ci/util.py
@@ -17,6 +17,7 @@
 
 import os
 import contextlib
+import logging
 import requests
 
 def get_mxnet_root() -> str:

Reply via email to