Skip to content

Commit

Permalink
[MXNET-696][PYTHON][UNDEFINED NAME] import logging in ci/util.py (ap…
Browse files Browse the repository at this point in the history
…ache#12488)

Fixes apache#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
```
  • Loading branch information
cclauss authored and aaronmarkham committed Sep 11, 2018
1 parent 52b0629 commit 40c8868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import os
import contextlib
import logging
import requests

def get_mxnet_root() -> str:
Expand Down

0 comments on commit 40c8868

Please # to comment.