Skip to content

Commit

Permalink
style: fix hound check
Browse files Browse the repository at this point in the history
Signed-off-by: loonghao <[email protected]>
  • Loading branch information
loonghao committed May 5, 2024
1 parent 6f16b9b commit bc57587
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions maya_umbrella/core.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Import built-in modules
from collections import defaultdict
import logging
import os
import re

# Import third-party modules
import maya.api.OpenMaya as om
Expand Down
6 changes: 3 additions & 3 deletions maya_umbrella/hooks/fix_on_model_change_3dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
def hook(logger):
try:
mel.eval("global proc onModelChange3dc(string $a){}")
except:
except Exception:
pass
try:
cmds.delete("fixCgAbBlastPanelOptChangeCallback")
except:
except Exception:
pass
try:
script = "global proc CgAbBlastPanelOptChangeCallback(string $i){}"
mel.eval(script)
except:
except Exception:
pass
2 changes: 1 addition & 1 deletion maya_umbrella/vaccine.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def fix_bad_nodes(self):
for node in self.bad_nodes:
self.logger.info("Deleting %s", node)
try:
cmds.lockNode(node, l=False)
cmds.lockNode(node, lock=False)
except ValueError:
pass
try:
Expand Down

0 comments on commit bc57587

Please sign in to comment.