--- 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