Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Putting Python aliases logic back
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknezis committed Mar 6, 2020
1 parent dd99eb0 commit 3d08a58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions heron/shell/src/python/handlers/killexecutorhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@


''' killexecutorhandler.py '''
from future.standard_library import install_aliases
install_aliases()

import logging
import os
import signal
from urllib.parse import parse_qsl

from future.standard_library import install_aliases
install_aliases()

import tornado.web
from tornado.options import options

Expand Down
6 changes: 3 additions & 3 deletions heron/tools/cli/src/python/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# under the License.

''' submit.py '''
from future.standard_library import install_aliases
install_aliases()

import glob
import logging
import os
Expand All @@ -27,9 +30,6 @@
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
Expand Down

0 comments on commit 3d08a58

Please sign in to comment.