BUGFIX: make oeread usable again.
authorChris Larson <clarson@kergoth.com>
Tue, 16 Mar 2004 05:07:59 +0000 (05:07 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 16 Mar 2004 05:07:59 +0000 (05:07 +0000)
bin/oeread

index 5c0773f..8a0a6ac 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-import sys, copy, oe.parse
+import sys, copy, oe, oe.parse, oe.build
 #from oe import *
 
 cfg = {}
@@ -26,6 +26,6 @@ if len(sys.argv) == 2:
                print k,'=',oe.data.expand(oefile[k]['content'], oefile)
 else:  
        print "Variables in conf/oe.conf & friends:"
-       for k in keys:
+       for k in cfgkeys:
                print "%-30s %s" % (k, cfg[k])