From d2dba8c4a9fef10dbee8a33c727d9374a940bca3 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Mon, 1 Mar 2021 19:28:38 +0100 Subject: [PATCH] Deadline Pype 3 - Hound --- pype/hosts/harmony/api/__init__.py | 1 - vendor/deadline/custom/events/Pype/Pype.py | 8 ++++---- vendor/deadline/custom/plugins/Pype/Pype.py | 7 +++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/pype/hosts/harmony/api/__init__.py b/pype/hosts/harmony/api/__init__.py index 25055dba3e..1a0255d045 100644 --- a/pype/hosts/harmony/api/__init__.py +++ b/pype/hosts/harmony/api/__init__.py @@ -226,4 +226,3 @@ def on_pyblish_instance_toggled(instance, old_value, new_value): "args": [node, new_value] } ) - diff --git a/vendor/deadline/custom/events/Pype/Pype.py b/vendor/deadline/custom/events/Pype/Pype.py index a7043d8070..c27945b269 100644 --- a/vendor/deadline/custom/events/Pype/Pype.py +++ b/vendor/deadline/custom/events/Pype/Pype.py @@ -222,7 +222,7 @@ class PypeEventListener(Deadline.Events.DeadlineEventListener): self.updateFtrackStatus(job, "Rendering") def OnJobFinished(self, job): - #self.LogInfo("OnJobFinished") + # self.LogInfo("OnJobFinished") self.updateFtrackStatus(job, "Artist Review") def OnJobRequeued(self, job): @@ -250,7 +250,7 @@ class PypeEventListener(Deadline.Events.DeadlineEventListener): pass def OnJobError(self, job, task, report): - #self.LogInfo("OnJobError LOGGING") + # self.LogInfo("OnJobError LOGGING") pass def OnJobPurged(self, job): @@ -263,7 +263,7 @@ class PypeEventListener(Deadline.Events.DeadlineEventListener): pass def OnSlaveStarted(self, job): - #self.LogInfo("OnSlaveStarted LOGGING") + # self.LogInfo("OnSlaveStarted LOGGING") pass def OnSlaveStopped(self, job): @@ -273,7 +273,7 @@ class PypeEventListener(Deadline.Events.DeadlineEventListener): pass def OnSlaveRendering(self, host_name, job): - #self.LogInfo("OnSlaveRendering LOGGING") + # self.LogInfo("OnSlaveRendering LOGGING") pass def OnSlaveStartingJob(self, host_name, job): diff --git a/vendor/deadline/custom/plugins/Pype/Pype.py b/vendor/deadline/custom/plugins/Pype/Pype.py index 7465ff6854..ec4e958bc1 100644 --- a/vendor/deadline/custom/plugins/Pype/Pype.py +++ b/vendor/deadline/custom/plugins/Pype/Pype.py @@ -7,8 +7,8 @@ from Deadline.Plugins import DeadlinePlugin, PluginType ###################################################################### -## This is the function that Deadline calls to get an instance of the -## main DeadlinePlugin class. +# This is the function that Deadline calls to get an instance of the +# main DeadlinePlugin class. ###################################################################### def GetDeadlinePlugin(): return PypeDeadlinePlugin() @@ -18,7 +18,6 @@ def CleanupDeadlinePlugin(deadlinePlugin): deadlinePlugin.Cleanup() - class PypeDeadlinePlugin(DeadlinePlugin): """ Standalone plugin for publishing from Pype. @@ -80,7 +79,7 @@ class PypeDeadlinePlugin(DeadlinePlugin): self.LogInfo("PypeDeadlinePlugin failed") raise - ## Called by Deadline to initialize the process. + # Called by Deadline to initialize the process. def InitializeProcess(self): # Set the plugin specific settings. self.PluginType = PluginType.Simple