Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-26 13:55:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-26 13:55:00 +0400
commit9def1dea45170807faece0360cd957606b461183 (patch)
tree8e0fa3f626f85a3c4360cf542d3de180bcb2bcc0 /release/scripts/startup/bl_operators/wm.py
parent3cb166e0f2ee04d0ab24ac4700b852e32f24cb8a (diff)
patch [#31578] Standard-conformal sets for .report() and operator return values
by Sebastian Nell (codemanx) This patch contains many changes - mostly to addons committing this correction to trunk.
Diffstat (limited to 'release/scripts/startup/bl_operators/wm.py')
-rw-r--r--release/scripts/startup/bl_operators/wm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 2b820add10e..6fa7cbd0abd 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1803,7 +1803,7 @@ class WM_OT_addon_remove(Operator):
path, isdir = WM_OT_addon_remove.path_from_addon(self.module)
if path is None:
- self.report('WARNING', "Addon path %r could not be found" % path)
+ self.report({'WARNING'}, "Addon path %r could not be found" % path)
return {'CANCELLED'}
# in case its enabled