def _assertDict(self, obj, sObjName=""): if type(obj) != types.DictionaryType: return self._raiseError(TypeError, "%s must be a dictionary."%sObjName)