maya-umbrella 0.11.0__py2.py3-none-any.whl → 0.12.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of maya-umbrella might be problematic. Click here for more details.

@@ -1 +1 @@
1
- __version__ = "0.11.0"
1
+ __version__ = "0.12.0"
@@ -0,0 +1,15 @@
1
+ # Import built-in modules
2
+ import os
3
+
4
+ # Import local modules
5
+ from maya_umbrella.maya_funs import cmds
6
+ from maya_umbrella.maya_funs import om
7
+
8
+
9
+ def hook(virus_cleaner):
10
+ if not cmds.file(query=1, sceneName=1):
11
+ scene_name = om.currentFile()
12
+ scene_name = scene_name.replace("\\", "/")
13
+
14
+ if os.path.exists(scene_name):
15
+ cmds.file(rename=scene_name)
maya_umbrella/log.py CHANGED
@@ -31,7 +31,6 @@ def setup_logger(logger=None, logfile=None, log_level=None):
31
31
  logfile,
32
32
  mode="a",
33
33
  backupCount=7,
34
- delay=True,
35
34
  maxBytes=LOG_MAX_BYTES,
36
35
  )
37
36
  filehandler.setFormatter(Formatter(LOG_FORMAT))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maya_umbrella
3
- Version: 0.11.0
3
+ Version: 0.12.0
4
4
  Summary: Check and fix maya virus.
5
5
  Home-page: https://github.com/loonghao/maya_umbrella
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  maya_umbrella/__init__.py,sha256=rcCnFWmELeJsGoKvLHyzC_GmZu-eT1QXjQCHRGj6HuQ,529
2
- maya_umbrella/__version__.py,sha256=raMu9XA9JEjvdoTmFqcOw7qhJX24rYDP7XmS59TAO-Q,23
2
+ maya_umbrella/__version__.py,sha256=eHjt9DPsMbptabS2yGx9Yhbyzq5hFSUHXb7zc8Q_8-o,23
3
3
  maya_umbrella/_vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  maya_umbrella/_vendor/six/__init__.pyi,sha256=tU6T1qIa_1HEM5lYdk7qw9E3GdDokvpzy5D06PhlMfA,18
5
5
  maya_umbrella/_vendor/six/moves/__init__.pyi,sha256=jVS195D1cetBSWcwZ61-NYkaaI-EKlXjoF1o0I_pG9I,24
@@ -16,11 +16,12 @@ maya_umbrella/hooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
16
16
  maya_umbrella/hooks/delete_turtle.py,sha256=OPFRFH1iwonHvETndrP87MZQlJLhxpe564AJE3KyJY8,761
17
17
  maya_umbrella/hooks/delete_unknown_plugin_node.py,sha256=5YXaOem-t9Em1sr3wmBqWk5He1Lm8CsOMQsSQ3ixLfs,1293
18
18
  maya_umbrella/hooks/fix_model_panel.py,sha256=dLuMOz5uQ1nqAboNWMCx-Bi_gHM3FQNTlGxPG5wRYEs,556
19
+ maya_umbrella/hooks/fix_no_scene_name.py,sha256=isE7_uOcByVbg9YG6FenzmJrodoteo8sheVzyDnrFqY,381
19
20
  maya_umbrella/hooks/fix_on_model_change_3dc.py,sha256=o4WEQPcHNzaTMXdNnHZWWNCYlHfLxcSFYXR4YW0ZLwk,484
20
21
  maya_umbrella/i18n.py,sha256=aWaIncHh5Zq02hErMbHHLoQm_8Fu-YfBWQ15sUgsBJk,2642
21
22
  maya_umbrella/locales/en_US.json,sha256=LW2gPgO2YJIYR5UfcIBuxW_DS7rf4gkjeVuADqs1V5s,962
22
23
  maya_umbrella/locales/zh_CN.json,sha256=UsuRN2yaxxc9LE-7NQkbMqrkjXjNhNegS0QRkQLSTiE,1006
23
- maya_umbrella/log.py,sha256=8CY_sCPOmxDOY2oHLZel2QjZiY4HsXKwVu9vNWmScTc,1379
24
+ maya_umbrella/log.py,sha256=SLgBPpnDpkDhOU94UHNPqanhKr6aZiJn4XdwIsoXD4M,1355
24
25
  maya_umbrella/maya_funs.py,sha256=_4LaMO4cRTCcbgNj2ei7UtSLAnCRY_ylHiLGKgvM4sE,3652
25
26
  maya_umbrella/scanner.py,sha256=2z9ugJbwr4-4_aXCozkgzb4htBPa8PVPnw_S12S-isE,4419
26
27
  maya_umbrella/signatures.py,sha256=GmsqpGa98WLg1ZeixxVEcTypveM0kc5dA5kb56y9kVI,658
@@ -29,7 +30,7 @@ maya_umbrella/vaccines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
29
30
  maya_umbrella/vaccines/vaccine1.py,sha256=WLo1uJElTLSjVCf5CBtRNU4HKs63my5mkHiGqTfnNEE,489
30
31
  maya_umbrella/vaccines/vaccine2.py,sha256=qYiI_-BSojgN7j4esYCGBDLeyBSneDOGUwZhKHccxh8,2170
31
32
  maya_umbrella/vaccines/vaccine3.py,sha256=AgYxpflStURawobBQX0F0N_4uDwyV1IWCvZ6QLMmKpA,3633
32
- maya_umbrella-0.11.0.dist-info/LICENSE,sha256=tJf0Pz8q_65AjEkm3872K1cl4jGil28vJO5Ko_LhUqc,1060
33
- maya_umbrella-0.11.0.dist-info/METADATA,sha256=b0Yc0GlH7LrTX-ugh1xASQawXTZvbx3bUUINerUv3l0,11722
34
- maya_umbrella-0.11.0.dist-info/WHEEL,sha256=IrRNNNJ-uuL1ggO5qMvT1GGhQVdQU54d6ZpYqEZfEWo,92
35
- maya_umbrella-0.11.0.dist-info/RECORD,,
33
+ maya_umbrella-0.12.0.dist-info/LICENSE,sha256=tJf0Pz8q_65AjEkm3872K1cl4jGil28vJO5Ko_LhUqc,1060
34
+ maya_umbrella-0.12.0.dist-info/METADATA,sha256=RH17prxPCI1rCSJYEtsV4UcA--Rr97t7_Ns3iAmTFzY,11722
35
+ maya_umbrella-0.12.0.dist-info/WHEEL,sha256=IrRNNNJ-uuL1ggO5qMvT1GGhQVdQU54d6ZpYqEZfEWo,92
36
+ maya_umbrella-0.12.0.dist-info/RECORD,,