summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/ndr.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/ndr.py b/source4/scripting/python/samba/ndr.py
index c9ee6848a3..3397e1da14 100644
--- a/source4/scripting/python/samba/ndr.py
+++ b/source4/scripting/python/samba/ndr.py
@@ -26,3 +26,6 @@ def ndr_unpack(cls, data):
object = cls()
object.__ndr_unpack__(data)
return object
+
+def ndr_print(object):
+ return object.__ndr_print__()