diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-23 07:52:25 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-23 15:55:39 +1000 |
commit | 10813bdd852f63eb48dc8ca63a312a80b3897489 (patch) | |
tree | 70859d3b0312ea6bd9d08c5d41cde2ceeb3956ba /source4 | |
parent | 895064000d9a4764e5f8d007d6eb2ab761ce2eca (diff) | |
download | samba-10813bdd852f63eb48dc8ca63a312a80b3897489.tar.gz samba-10813bdd852f63eb48dc8ca63a312a80b3897489.tar.bz2 samba-10813bdd852f63eb48dc8ca63a312a80b3897489.zip |
s4-python: added ndr_print() method in ndr
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/ndr.py | 3 |
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__() |