From 9ffb1dbdd828c960b2a551dab62d327dd5cfd66f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 14 Oct 2013 14:44:40 +0530 Subject: [PATCH] [minor] _dict copy method call --- webnotes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webnotes/__init__.py b/webnotes/__init__.py index 53ccde6d09..7082571b48 100644 --- a/webnotes/__init__.py +++ b/webnotes/__init__.py @@ -30,7 +30,7 @@ class _dict(dict): super(_dict, self).update(d) return self def copy(self): - return _dict(super(_dict, self).copy()) + return _dict(dict(self).copy()) def __getattr__(self, key): return local.get("key", None)