Deadline Pype 3 - Hound

This commit is contained in:
Petr Kalis 2021-03-01 19:28:38 +01:00
parent be6a8d82b7
commit d2dba8c4a9
3 changed files with 7 additions and 9 deletions

View file

@ -226,4 +226,3 @@ def on_pyblish_instance_toggled(instance, old_value, new_value):
"args": [node, new_value]
}
)

View file

@ -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):

View file

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