[Bf-blender-cvs] [9ae5b3ebbc] app-templates: remove prints
Campbell Barton
noreply at git.blender.org
Fri Mar 24 09:28:08 CET 2017
Commit: 9ae5b3ebbccbe22fe9e3b06c2777af61c65b7fef
Author: Campbell Barton
Date: Fri Mar 24 19:28:03 2017 +1100
Branches: app-templates
https://developer.blender.org/rB9ae5b3ebbccbe22fe9e3b06c2777af61c65b7fef
remove prints
===================================================================
M release/scripts/modules/bpy/utils/__init__.py
===================================================================
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py
index 725adcc6ca..65a2f27846 100644
--- a/release/scripts/modules/bpy/utils/__init__.py
+++ b/release/scripts/modules/bpy/utils/__init__.py
@@ -365,7 +365,7 @@ def refresh_script_paths():
def app_template_paths(subdir=None):
"""
- Returns a list of valid template paths.
+ Returns valid application template paths.
:arg subdir: Optional subdir.
:type subdir: string
@@ -379,21 +379,18 @@ def app_template_paths(subdir=None):
path = _os.path.join(*(
resource_path('LOCAL'), "scripts", "startup",
"bl_app_templates_user", *subdir_tuple))
- print(path)
if _os.path.isdir(path):
yield path
else:
path = _os.path.join(*(
resource_path('USER'), "scripts", "startup",
"bl_app_templates_user", *subdir_tuple))
- print(path)
if _os.path.isdir(path):
yield path
path = _os.path.join(*(
resource_path('SYSTEM'), "scripts", "startup",
"bl_app_templates_system", *subdir_tuple))
- print(path)
if _os.path.isdir(path):
yield path
More information about the Bf-blender-cvs
mailing list