diff options
Diffstat (limited to 'python/decorators.py')
-rw-r--r-- | python/decorators.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/decorators.py b/python/decorators.py index 7847b3a2..2deec6d0 100644 --- a/python/decorators.py +++ b/python/decorators.py @@ -1,7 +1,7 @@ import _util import inspect import dbus_bindings - +import new def method(dbus_interface): _util._validate_interface_or_name(dbus_interface) @@ -37,3 +37,6 @@ def signal(dbus_interface): return decorator +def explicitly_pass_message(func): + func._dbus_pass_message = True + return func |