diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 13:55:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 13:55:00 +0400 |
commit | 9def1dea45170807faece0360cd957606b461183 (patch) | |
tree | 8e0fa3f626f85a3c4360cf542d3de180bcb2bcc0 /release/scripts/startup | |
parent | 3cb166e0f2ee04d0ab24ac4700b852e32f24cb8a (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')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 2 |
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 |