This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch nicknezis/bazel-2
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/nicknezis/bazel-2 by this push:
new 061f3c2 Fix for broken Python aliases
061f3c2 is described below
commit 061f3c2a2daa65c4d15457da3879bc5a0e149fbe
Author: Nicholas Nezis <[email protected]>
AuthorDate: Tue Mar 31 00:05:30 2020 -0400
Fix for broken Python aliases
---
heron/tools/cli/src/python/submit.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/heron/tools/cli/src/python/submit.py
b/heron/tools/cli/src/python/submit.py
index a1cb9a6..2a9c229 100644
--- a/heron/tools/cli/src/python/submit.py
+++ b/heron/tools/cli/src/python/submit.py
@@ -19,6 +19,9 @@
# under the License.
''' submit.py '''
+from future.standard_library import install_aliases
+install_aliases()
+
import glob
import logging
import os
@@ -27,9 +30,6 @@ import subprocess
from urllib.parse import urlparse
import requests
-from future.standard_library import install_aliases
-install_aliases()
-
from heron.common.src.python.utils.log import Log
from heron.proto import topology_pb2
from heron.tools.cli.src.python.result import SimpleResult, Status