[kernel] r14504 -	people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig
    Bastian Blank 
    waldi at alioth.debian.org
       
    Thu Oct 29 11:41:26 UTC 2009
    
    
  
Author: waldi
Date: Thu Oct 29 11:41:24 2009
New Revision: 14504
Log:
lib/kconfigeditor/kconfig/config.py: Use more traditional dict init.
Modified:
   people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/config.py
Modified: people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/config.py
==============================================================================
--- people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/config.py	Thu Oct 29 11:41:07 2009	(r14503)
+++ people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/config.py	Thu Oct 29 11:41:24 2009	(r14504)
@@ -6,9 +6,8 @@
 
 
 class File(dict):
-    def __init__(self, fd=None):
-        if fd:
-            self.read(fd)
+    def __init__(self, content={}):
+        super(File, self).__init__(content)
 
     def _write(self, menufiles):
         visible = self._write_check_visible(menufiles)
    
    
More information about the Kernel-svn-changes
mailing list