nlu90 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_r354991501
 
 

 ##########
 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:
   it's available in python2 with the first two lines import of this file
   
   ```
   from future.standard_library import install_aliases
   install_aliases()
   ```

----------------------------------------------------------------
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