buildframework/helium/sf/python/pythoncore/lib/escapeddict.py
changeset 628 7c4a911dc066
parent 587 85df38eb4012
--- a/buildframework/helium/sf/python/pythoncore/lib/escapeddict.py	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/python/pythoncore/lib/escapeddict.py	Fri Aug 13 14:59:05 2010 +0300
@@ -38,7 +38,10 @@
 class EscapedDict(UserDict.UserDict):
     """ Implements a dictionary that escapes the key values recursively. """        
     
-    def __init__(self, dict={}, failonerror=False):
+    # pylint: disable=W0622
+    def __init__(self, dict=None, failonerror=False):
+        if dict == None:
+            dict = {}
         UserDict.UserDict.__init__(self, dict)
         self.__failonerror = failonerror