Forráskód Böngészése

Merge pull request #14807 from Michael-Gardner/HPCC-25677

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

Reviewed-By: Xiaoming Wang <xiaoming.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 4 éve
szülő
commit
dbefe8053a
1 módosított fájl, 1 hozzáadás és 1 törlés
  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")