From 7388c3bf492796a608bb830efd56a7dff73f4161 Mon Sep 17 00:00:00 2001 From: nixawk Date: Wed, 14 Jan 2015 09:40:24 +0000 Subject: [PATCH] datatype.py --- lib/core/datatype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/datatype.py b/lib/core/datatype.py index 8fb16268b..29295727b 100644 --- a/lib/core/datatype.py +++ b/lib/core/datatype.py @@ -75,7 +75,7 @@ class AttribDict(dict): for attr in dir(self): if not attr.startswith('_'): value = getattr(self, attr) - if not isinstance(value, (types.BuiltinFunctionType, types.BuiltinFunctionType, types.FunctionType, types.MethodType)): + if not isinstance(value, (types.BuiltinFunctionType, types.FunctionType, types.MethodType)): setattr(retVal, attr, copy.deepcopy(value, memo)) for key, value in self.items():