[kernel] r14503 - people/waldi/utils/kconfigeditor2/lib/kconfigeditor
Bastian Blank
waldi at alioth.debian.org
Thu Oct 29 11:41:08 UTC 2009
Author: waldi
Date: Thu Oct 29 11:41:07 2009
New Revision: 14503
Log:
lib/kconfigeditor/package.py: Use read method of File object.
Modified:
people/waldi/utils/kconfigeditor2/lib/kconfigeditor/package.py
Modified: people/waldi/utils/kconfigeditor2/lib/kconfigeditor/package.py
==============================================================================
--- people/waldi/utils/kconfigeditor2/lib/kconfigeditor/package.py Thu Oct 29 11:38:53 2009 (r14502)
+++ people/waldi/utils/kconfigeditor2/lib/kconfigeditor/package.py Thu Oct 29 11:41:07 2009 (r14503)
@@ -22,7 +22,8 @@
if data['kernelarch'] != kernelarch:
data['kernelarch'] = None
else:
- file = File(open(os.path.join(self.config_root, filename)))
+ file = File()
+ file.read(open(os.path.join(self.config_root, filename)))
files[filename] = {'file': file, 'keys': [key], 'kernelarch': kernelarch}
def _collect(self):
More information about the Kernel-svn-changes
mailing list