xiaoyao1991 commented on a change in pull request #3412: [WIP] make python code 
compatible with both python2 and python3
URL: https://github.com/apache/incubator-heron/pull/3412#discussion_r354988164
 
 

 ##########
 File path: heron/shell/src/python/handlers/killexecutorhandler.py
 ##########
 @@ -20,10 +20,13 @@
 
 
 ''' killexecutorhandler.py '''
+from future.standard_library import install_aliases
+install_aliases()
+
 import logging
 import os
 import signal
-import urlparse
+from urllib.parse import parse_qsl
 
 Review comment:
   Looks like this is a package only valid in py3? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to