Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit bc900a3

Browse files
committed
Nuke: fix reload() importing from __builtin__ for python27
1 parent 5855381 commit bc900a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

avalon/nuke/pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import contextlib
44
import importlib
55
from collections import OrderedDict
6+
from __builtin__ import reload
7+
68
from pyblish import api as pyblish
79
from ..pipeline import AVALON_CONTAINER_ID
810
from .. import api, io, schema
@@ -45,7 +47,6 @@ def reload_pipeline():
4547
log.warning("Cannot reload module: {}".format(e))
4648
reload(module)
4749

48-
4950
import avalon.nuke
5051
api.install(avalon.nuke)
5152

0 commit comments

Comments
 (0)