mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix infinite recursion
This commit is contained in:
parent
e3116b0bd0
commit
86a3821657
1 changed files with 3 additions and 5 deletions
|
|
@ -1,11 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Houdini specific Avalon/Pyblish plugin definitions."""
|
||||
|
||||
import sys
|
||||
|
||||
from avalon import houdini
|
||||
import hou
|
||||
import six
|
||||
from openpype.api import PypeCreatorMixin
|
||||
|
||||
|
||||
|
|
@ -16,4 +12,6 @@ class Creator(PypeCreatorMixin, houdini.Creator):
|
|||
try:
|
||||
self._process()
|
||||
except hou.Error as er:
|
||||
six.reraise(Exception, er, sys.exc_info()[2])
|
||||
# cannot do re-raise with six as it will cause
|
||||
# infinite recursion.
|
||||
raise Exception(er)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue