diff -r ed2eaa573ca5 -r 927a2f8b3669 DebugClients/Python/FlexCompleter.py --- a/DebugClients/Python/FlexCompleter.py Sat Oct 19 11:14:51 2013 +0200 +++ b/DebugClients/Python/FlexCompleter.py Sat Oct 19 11:49:31 2013 +0200 @@ -126,7 +126,7 @@ @param namespace namespace for the completer @exception TypeError raised to indicate a wrong namespace structure """ - if namespace and type(namespace) != type({}): + if namespace and isinstance(namespace, dict): raise TypeError('namespace must be a dictionary') # Don't bind to namespace quite yet, but flag whether the user wants a