From e4a69ffb606bda914410984a8a69a27297316b55 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 Feb 2011 04:28:07 +0000 Subject: fix [#26104] Context Set Boolean op fails [34892i] could give better feedback but these operators are mainly for internal use. --- release/scripts/op/wm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index c6ab406c29d..89e9641ba93 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -51,7 +51,7 @@ rna_relative_prop = BoolProperty(name="Relative", def context_path_validate(context, data_path): import sys try: - value = eval("context.%s" % data_path) + value = eval("context.%s" % data_path) if data_path else Ellipsis except AttributeError: if "'NoneType'" in str(sys.exc_info()[1]): # One of the items in the rna path is None, just ignore this -- cgit v1.2.3