summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-19 10:31:28 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-19 01:35:22 +0100
commitbc0230be1d3d439fd5219a2123d4195b178870bc (patch)
treecea7420fea7459405e1e84e553a0f8f161d9ac80 /source4/scripting/python
parentf8f1711f61d8b3befe10173081cecaa431f0c714 (diff)
downloadsamba-bc0230be1d3d439fd5219a2123d4195b178870bc.tar.gz
samba-bc0230be1d3d439fd5219a2123d4195b178870bc.tar.bz2
samba-bc0230be1d3d439fd5219a2123d4195b178870bc.zip
pygensec: remove special case handling for None for buffers
always returning a buffer makes life easier for callers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/tests/gensec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/gensec.py b/source4/scripting/python/samba/tests/gensec.py
index f1cc44bca7..ddca0df980 100644
--- a/source4/scripting/python/samba/tests/gensec.py
+++ b/source4/scripting/python/samba/tests/gensec.py
@@ -67,7 +67,7 @@ class GensecTests(samba.tests.TestCase):
client_finished = False
server_finished = False
- server_to_client = None
+ server_to_client = ""
"""Run the actual call loop"""
while client_finished == False and server_finished == False: