clean(celaction): before PR brushing

This commit is contained in:
Jakub Jezek 2020-06-04 19:26:57 +02:00
parent 1a21abdecf
commit c01115386d
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3
2 changed files with 3 additions and 7 deletions

View file

@ -29,9 +29,6 @@ class CelactionPrelaunchHook(PypeHook):
self.signature = "( {} )".format(self.__class__.__name__)
def execute(self, *args, env: dict = None) -> bool:
from pprint import pformat
self.log.info(f"`{pformat(env)}`")
if not env:
env = os.environ
@ -73,7 +70,8 @@ class CelactionPrelaunchHook(PypeHook):
env.get("PYPE_MODULE_ROOT"),
"pype/hosts/celaction/celaction_template_scene.scn"
)
self.log.info(f"Creating workfile from template: `{template_path}`")
self.log.info(
f"Creating workfile from template: `{template_path}`")
shutil.copy2(
os.path.normpath(template_path),
os.path.normpath(workfile_path)

View file

@ -2,10 +2,8 @@ import os
import sys
import copy
import argparse
import importlib
from avalon import io
import avalon.api
from avalon.tools import publish
import pyblish.api
@ -53,7 +51,7 @@ def cli():
help=("Height of resolution"))
# parser.add_argument("--programDir",
# help=("Directory with celaction program installation"))
# help=("Directory with celaction program installation"))
pype.celaction.kwargs = parser.parse_args(sys.argv[1:]).__dict__