소스 검색

HPCC-25677 No longer need str.decode in python3. str type already stored as utf-8

Signed-off-by: Michael Gardner <michael.gardner@lexisnexisrisk.com>
Michael Gardner 4 년 전
부모
커밋
bdb008088f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      initfiles/sbin/hpcc/cluster/task.py

+ 1 - 1
initfiles/sbin/hpcc/cluster/task.py

@@ -129,7 +129,7 @@ class ScriptTask(Task):
         option. Also user should ensure the script permission to
         protect the script from malicious modification.
         '''
-        cmd = self.script_file + " " + host.ip.decode('utf-8')
+        cmd = self.script_file + " " + host.ip
         self.logger.info(cmd)
         if not self.validateScriptFile():
             self.logger.error("Script file check sum does not match")