[kernel] r5950 - people/waldi/utils/kconfigeditor

Bastian Blank waldi at costa.debian.org
Tue Feb 21 11:25:27 UTC 2006


Author: waldi
Date: Tue Feb 21 11:25:26 2006
New Revision: 5950

Modified:
   people/waldi/utils/kconfigeditor/kconfigeditor.py
Log:
kconfigeditor.py: Expect cwd to be linux-2.6.


Modified: people/waldi/utils/kconfigeditor/kconfigeditor.py
==============================================================================
--- people/waldi/utils/kconfigeditor/kconfigeditor.py	(original)
+++ people/waldi/utils/kconfigeditor/kconfigeditor.py	Tue Feb 21 11:25:26 2006
@@ -1,7 +1,7 @@
 #!/usr/bin/env python2.4
-import sys
+import os, sys
 # HACK
-sys.path.append("../../linux-2.6/debian/lib/python")
+sys.path.append(os.getcwd() + "/debian/lib/python")
 from debian_linux.config import config_reader
 from kconfigeditor.editor import editor
 
@@ -37,5 +37,5 @@
         self.show()
 
 if __name__ == '__main__':
-    editor("../../linux-2.6/debian/arch")
+    editor("debian/arch")
     gtk.main()



More information about the Kernel-svn-changes mailing list