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 ec4ad58  Scope requests so it's not needed for dev_menu (#13771)
ec4ad58 is described below

commit ec4ad58b630e96ef635cbe2cd9e2918f05c11280
Author: Pedro Larroy <[email protected]>
AuthorDate: Sun Jan 6 20:22:06 2019 +0100

    Scope requests so it's not needed for dev_menu (#13771)
---
 ci/util.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/util.py b/ci/util.py
index 4d68b57..9a8d52e 100644
--- a/ci/util.py
+++ b/ci/util.py
@@ -18,7 +18,6 @@
 import os
 import contextlib
 import logging
-import requests
 
 def get_mxnet_root() -> str:
     curpath = os.path.abspath(os.path.dirname(__file__))
@@ -89,6 +88,7 @@ def under_ci() -> bool:
 
 
 def ec2_instance_id_hostname() -> str:
+    import requests
     if under_ci():
         result = []
         try:

Reply via email to