--- a/DebugClients/Python/FlexCompleter.py Sat Oct 19 18:06:42 2013 +0200 +++ b/DebugClients/Python/FlexCompleter.py Sat Oct 19 19:38:17 2013 +0200 @@ -126,7 +126,7 @@ @param namespace namespace for the completer @exception TypeError raised to indicate a wrong namespace structure """ - if namespace and isinstance(namespace, dict): + if namespace and not isinstance(namespace, dict): raise TypeError('namespace must be a dictionary') # Don't bind to namespace quite yet, but flag whether the user wants a