You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2019/01/06 19:22:29 UTC

[incubator-mxnet] branch master updated: Scope requests so it's not needed for dev_menu (#13771)

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 <pe...@gmail.com>
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: