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 anirudh2290 committed Sep 19, 2018
1 parent 5e3cf69 commit 5ba3aa9
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 5ba3aa9

Please sign in to comment.